X-Git-Url: https://perl5.git.perl.org/perl5.git/blobdiff_plain/3f572b05bb1c6a04a3023e473496ab4aeef697d3..150fa1c5a657f957eab2ec5e03978c60c08b8cd5:/patchlevel.h diff --git a/patchlevel.h b/patchlevel.h index 1f5fa16..715bedb 100644 --- a/patchlevel.h +++ b/patchlevel.h @@ -14,8 +14,8 @@ * exactly on the third column */ #define PERL_REVISION 5 /* age */ -#define PERL_VERSION 21 /* epoch */ -#define PERL_SUBVERSION 7 /* generation */ +#define PERL_VERSION 31 /* epoch */ +#define PERL_SUBVERSION 4 /* generation */ /* The following numbers describe the earliest compatible version of Perl ("compatibility" here being defined as sufficient binary/API @@ -35,8 +35,8 @@ changing them should not be necessary. */ #define PERL_API_REVISION 5 -#define PERL_API_VERSION 21 -#define PERL_API_SUBVERSION 7 +#define PERL_API_VERSION 31 +#define PERL_API_SUBVERSION 4 /* XXX Note: The selection of non-default Configure options, such as -Duselonglong may invalidate these settings. Currently, Configure @@ -90,8 +90,8 @@ #!perl die "Usage: perl -x patchlevel.h comment ..." unless @ARGV; -open PLIN, "patchlevel.h" or die "Couldn't open patchlevel.h : $!"; -open PLOUT, ">patchlevel.new" or die "Couldn't write on patchlevel.new : $!"; +open PLIN, "<", "patchlevel.h" or die "Couldn't open patchlevel.h : $!"; +open PLOUT, ">", "patchlevel.new" or die "Couldn't write on patchlevel.new : $!"; my $seen=0; while () { if (/\t,NULL/ and $seen) {