From: Kaveh R. Ghazi Date: Mon, 7 Jun 1999 20:35:14 +0000 (+0000) Subject: inclhack.def (math_gcc_ifndefs): Insert whitespace between sed's -e flag, and the... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5aa8e9796b55307cd24d393c0bd92832869c082e;p=gcc.git inclhack.def (math_gcc_ifndefs): Insert whitespace between sed's -e flag, and the open-quote following it. * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace between sed's -e flag, and the open-quote following it. * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt. From-SVN: r27405 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 13e893a7310..779c8b1cda3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +1999-06-07 Kaveh R. Ghazi + + * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace + between sed's -e flag, and the open-quote following it. + * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt. + Mon Jun 7 20:34:20 1999 Robert Lipe Jeffrey A Law (law@cygnus.com) diff --git a/gcc/fixinc/fixincl.x b/gcc/fixinc/fixincl.x index 103f5b2e5cb..c7eb180dde5 100644 --- a/gcc/fixinc/fixincl.x +++ b/gcc/fixinc/fixincl.x @@ -1763,9 +1763,9 @@ const char* apzMath_Gcc_IfndefsPatch[] = { "sh", "-c", \t ) > /dev/null 2>&1\n\ \tthen sed -e '/define[ \t]HUGE_VAL[ \t]DBL_MAX/s/DBL_MAX/$dbl_max_def/'\n\ \telse cat ; fi |\n\ -\tsed -e'/define[ \t]HUGE_VAL[ \t]/i\\\n\ +\tsed -e '/define[ \t]HUGE_VAL[ \t]/i\\\n\ #ifndef HUGE_VAL\n\ -' -e'/define[ \t]HUGE_VAL[ \t]/a\\\n\ +' -e '/define[ \t]HUGE_VAL[ \t]/a\\\n\ #endif\n\ '", (char*)NULL }; diff --git a/gcc/fixinc/inclhack.def b/gcc/fixinc/inclhack.def index 51908d8e4f5..9e9cd4fd77f 100644 --- a/gcc/fixinc/inclhack.def +++ b/gcc/fixinc/inclhack.def @@ -1042,8 +1042,8 @@ fix = { "\tthen sed -e '/define[ \t]HUGE_VAL[ \t]DBL_MAX/s/DBL_MAX/$dbl_max_def/'" "\n\telse cat ; fi |\n" - "\tsed -e'/define[ \t]HUGE_VAL[ \t]/i\\\n#ifndef HUGE_VAL\n' " - "-e'/define[ \t]HUGE_VAL[ \t]/a\\\n#endif\n'"; + "\tsed -e '/define[ \t]HUGE_VAL[ \t]/i\\\n#ifndef HUGE_VAL\n' " + "-e '/define[ \t]HUGE_VAL[ \t]/a\\\n#endif\n'"; }; diff --git a/gcc/fixinc/inclhack.sh b/gcc/fixinc/inclhack.sh index 63f4cf755d7..13f56a7c81b 100755 --- a/gcc/fixinc/inclhack.sh +++ b/gcc/fixinc/inclhack.sh @@ -1574,9 +1574,9 @@ s/\\+++fixinc_eol+++/\\/g ) > /dev/null 2>&1 then sed -e '/define[ ]HUGE_VAL[ ]DBL_MAX/s/DBL_MAX/$dbl_max_def/' else cat ; fi | - sed -e'/define[ ]HUGE_VAL[ ]/i\ + sed -e '/define[ ]HUGE_VAL[ ]/i\ #ifndef HUGE_VAL -' -e'/define[ ]HUGE_VAL[ ]/a\ +' -e '/define[ ]HUGE_VAL[ ]/a\ #endif ' ) < $infile > ${DESTDIR}/fixinc.tmp