gcc-2.95 fixinc/fixincl.def HUGE_VAL fix

Philippe De Muyter phdm@macqel.be
Sat Jun 5 19:29:00 GMT 1999


Below is a fix for the following error message :

Unrecognized command: -e/define[        ]HUGE_VAL[      ]/a\
#endif
Fixed ./math.h:

Sun Jun  6 03:59:00 1999  Philippe De Muyter  <phdm@macqel.be>

	* fixinc/inclhack.def (math_gcc_ifndefs): Fix typo in sed command-line.

--- ./gcc/fixinc/inclhack.def	Sun Jun  6 04:23:04 1999
+++ ./gcc/fixinc/inclhack.def	Sun Jun  6 04:12:42 1999
@@ -1040,8 +1040,8 @@
     "\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'";
 };
 
 


More information about the Gcc-patches mailing list