Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix PATCHLEVEL & SUBVERSION #175

Open
atoomic opened this issue Jul 28, 2020 · 1 comment
Open

Fix PATCHLEVEL & SUBVERSION #175

atoomic opened this issue Jul 28, 2020 · 1 comment
Assignees

Comments

@atoomic
Copy link
Owner

atoomic commented Jul 28, 2020

Fix PATCHLEVEL & SUBVERSION in Config to be consistent with the Perl macro.

@atoomic
Copy link
Owner Author

atoomic commented Jul 28, 2020

Configure:2293:xversion=`awk '/define[ 	]+PERL_MINOR_VERSION/ {print $3}' $rsrc/patchlevel.h`
Configure:4342:	revision=`awk '/define[ 	]+PERL_MAJOR_VERSION/ {print $3}' $rsrc/patchlevel.h`
Configure:4343:	patchlevel=`awk '/define[ 	]+PERL_MINOR_VERSION/ {print $3}' $rsrc/patchlevel.h`
Configure:4344:	subversion=`awk '/define[ 	]+PERL_MICRO_VERSION/ {print $3}' $rsrc/patchlevel.h`
Configure:4345:	api_revision=`awk '/define[ 	]+PERL_API_REVISION/ {print $3}' $rsrc/patchlevel.h`
Configure:4346:	api_version=`awk '/define[ 	]+PERL_API_VERSION/ {print $3}' $rsrc/patchlevel.h`
Configure:4347:	api_subversion=`awk '/define[ 	]+PERL_API_SUBVERSION/ {print $3}' $rsrc/patchlevel.h`
Configure:9640:	xversion=`awk '/define[ 	]+PERL_MINOR_VERSION/ {print $3}' $rsrc/patchlevel.h`
Configure:25186:awk '/^#define[ 	]+PERL_/ {printf "%s=%s\n",$2,$3}' $src/patchlevel.h >>config.sh
NetWare/config.wc:1145:PATCHLEVEL='~PERL_MINOR_VERSION~'
Porting/Glossary:4581:	In patchlevel.h, this is referred to as "PERL_MINOR_VERSION".
Porting/Glossary:4597:PERL_API_REVISION (patchlevel.h):
Porting/Glossary:4604:PERL_API_SUBVERSION (patchlevel.h):
Porting/Glossary:4611:PERL_API_VERSION (patchlevel.h):
Porting/Glossary:4788:	In patchlevel.h, this is referred to as "PERL_MAJOR_VERSION".
Porting/Glossary:5332:	In patchlevel.h, this is referred to as "PERL_MICRO_VERSION".
Porting/bisect-runner.pl:1501:			qr/^#define\s+(?:PERL_MINOR_VERSION|PATCHLEVEL)\s+(\d+)\s/,
Porting/makerel:56:$patchlevel = $1 if $patchlevel_h =~ /PERL_MINOR_VERSION\s+(\d+)/;
configure.com:6030:$ WC "PERL_MINOR_VERSION='" + patchlevel + "'"
dist/Devel-PPPort/parts/inc/version:31:#  if !(defined(PERL_VERSION) || (defined(SUBVERSION) && defined(PATCHLEVEL)))
dist/Devel-PPPort/parts/inc/version:37:#    define PERL_VERSION        PATCHLEVEL
hints/darwin.sh:11:perl_revision=`awk '/define[ 	]+PERL_MAJOR_VERSION/ {print $3}' $src/patchlevel.h`
hints/darwin.sh:12:perl_version=`awk '/define[ 	]+PERL_MINOR_VERSION/ {print $3}' $src/patchlevel.h`
hints/darwin.sh:13:perl_subversion=`awk '/define[ 	]+PERL_MICRO_VERSION/ {print $3}' $src/patchlevel.h`
hints/freebsd.sh:188:       patchlevel=`awk '/define[ 	]+PERL_MINOR_VERSION/ {print $3}' $src/patchlevel.h`
hints/freebsd.sh:189:       subversion=`awk '/define[ 	]+PERL_MICRO_VERSION/ {print $3}' $src/patchlevel.h`
installman:25:    "and patchlevel of config.sh ($Config{'PERL_MINOR_VERSION'}) don't match\n"
installman:26:	if $patchlevel != $Config{'PERL_MINOR_VERSION'};
installperl:192:    "and patchlevel of config.sh ($Config{'PERL_MINOR_VERSION'}) don't match\n"
installperl:193:	if $patchlevel != $Config{'PERL_MINOR_VERSION'};
lib/Config.t:34:my %grandfathers = ( PERL_MINOR_VERSION       => 'PATCHLEVEL',
patchlevel.h:158:#define PATCHLEVEL		PERL_VERSION
plan9/genconfig.pl:283:else { warn "Can't read ${outdir}patchlevel.h - skipping 'PERL_MINOR_VERSION'"; }
win32/config.gc:952:patchlevel='~PERL_MINOR_VERSION~'
win32/config.vc:951:patchlevel='~PERL_MINOR_VERSION~'

@atoomic atoomic self-assigned this Jul 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant