X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=blobdiff_plain;f=fixincludes%2Ffixincl.tpl;h=c8d4b2ce1455a4ca65a61abb3728111d7488cf48;hp=420b11d8783cfdd77a96858432c1378c0b51d936;hb=6c30206ca02b60c220050278bb092ef09cab09db;hpb=2b59cb0507a0cd617d4b6fda5d0ba9673daf1fb2 diff --git a/fixincludes/fixincl.tpl b/fixincludes/fixincl.tpl index 420b11d8783..c8d4b2ce145 100644 --- a/fixincludes/fixincl.tpl +++ b/fixincludes/fixincl.tpl @@ -2,7 +2,10 @@ x=fixincl.x =] [= (dne " * " "/* ")=] */ -/* DO NOT CVS-MERGE THIS FILE, EITHER [=`date`=] +/* DO NOT SVN-MERGE THIS FILE, EITHER [= + (define re-ct 0) (define max-mach 0) (define ct 0) + (define HACK "") (define Hack "") (define tmp "") + (shell "date") =] * * You must regenerate it. Use the ./genfixes script. * @@ -15,13 +18,27 @@ x=fixincl.x =] * * See README for more information. * - * inclhack copyright (c) 1998, 1999, 2000, 2001 + * inclhack copyright (c) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, + * 2006, 2007, 2008 * The Free Software Foundation, Inc. * - [=(define re-ct 0) (define max-mach 0) (define ct 0) - (define HACK "") (define Hack "") (define tmp "") - (gpl "inclhack" " * ")=] + * inclhack is free software: you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * inclhack is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see . */ +#ifndef SED_PROGRAM +#define SED_PROGRAM "/usr/bin/sed" +#endif +static char const sed_cmd_z[] = SED_PROGRAM; [= FOR fix =] @@ -48,7 +65,7 @@ tSCC z[=(. Hack)=]Name[] = IF (exist? "files")=] tSCC z[=(. Hack)=]List[] = - "[=FOR files =]|[=files=][=ENDFOR=]|";[= + "[= (join "\\0" (stack "files")) =]\0";[= ELSE =] #define z[=(. Hack)=]List (char*)NULL[= @@ -73,7 +90,7 @@ tSCC* apz[=(. Hack)=]Machs[] = {[= ELSE =] #define apz[=(. Hack)=]Machs (const char**)NULL[= - ENDIF (exist? "files") =][= + ENDIF (exist? "mach") =][= IF (exist? "select")=] @@ -152,7 +169,7 @@ static tTestDesc a[=(. Hack)=]Tests[] = {[= * Fix Command Arguments for [=(. Hack)=] */ static const char* apz[=(. Hack)=]Patch[] = {[= - IF (exist? "sed")=] "sed"[= + IF (exist? "sed")=] sed_cmd_z[= FOR sed=], "-e", [=(kr-string (get "sed"))=][= ENDFOR sed=],[=