X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=patchlevel.h;h=0950cbcd0ddc760b596017b4120d500d8d59da08;hb=54ca4ee7252684545d9524460bab88037e5f584b;hp=aea4c2f241b78bf7b5e3095a662d5d5068ab65c7;hpb=69df4abc7c8a05e1b705134bf772dc9c44d92dd6;p=p5sagit%2Fp5-mst-13.2.git diff --git a/patchlevel.h b/patchlevel.h index aea4c2f..0950cbc 100644 --- a/patchlevel.h +++ b/patchlevel.h @@ -1,7 +1,7 @@ /* patchlevel.h * * Copyright (C) 1993, 1995, 1996, 1997, 1998, 1999, - * 2000, 2001, 2002, 2003, 2004, by Larry Wall and others + * 2000, 2001, 2002, 2003, 2004, 2005, 2006, by Larry Wall and others * * You may distribute under the terms of either the GNU General Public * License or the Artistic License, as specified in the README file. @@ -100,6 +100,7 @@ while () { } close PLOUT or die "Couldn't close filehandle writing to patchlevel.new : $!"; close PLIN or die "Couldn't close filehandle reading from patchlevel.h : $!"; +close DATA; # needed to allow unlink to work win32. unlink "patchlevel.bak" or warn "Couldn't unlink patchlevel.bak : $!" if -e "patchlevel.bak"; rename "patchlevel.h", "patchlevel.bak" or @@ -114,13 +115,9 @@ hunk. */ - - - #if !defined(PERL_PATCHLEVEL_H_IMPLICIT) && !defined(LOCAL_PATCH_COUNT) -static const char *local_patches[] = { +static const char * const local_patches[] = { NULL - ,'DEVEL24148' ,NULL };