Literal CR in C source
Andreas Schwab
schwab@suse.de
Tue Mar 13 03:17:00 GMT 2001
The new gcc treats literal CRs like newlines in a source file. This
breaks posix/ptestcases.h.
2001-03-13 Andreas Schwab <schwab@suse.de>
* posix/PTESTS2C.sed: Replace literal CRs by `\r'.
--- posix/PTESTS2C.sed.~1.1.~ Sun May 17 00:25:39 1998
+++ posix/PTESTS2C.sed Tue Mar 6 10:23:07 2001
@@ -2,3 +2,4 @@
s/# \(.*\)/ { 0, 0, "\1", NULL, },/
s/\([^æ]*\)æ\([^æ]*\)æ\([^æ]*\)æ\([^æ]*\)æ\(.*\)/ { \1, \2, "\3", "\4", \5 },/
s/\\/\\\\/g
+s/
/\\r/g
--
Andreas Schwab "And now for something
SuSE Labs completely different."
Andreas.Schwab@suse.de
SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
More information about the Libc-hacker
mailing list