* Fix posix/confstr
@ 2004-11-28 8:03 Andreas Jaeger
0 siblings, 0 replies; only message in thread
From: Andreas Jaeger @ 2004-11-28 8:03 UTC (permalink / raw)
To: Glibc hackers
[-- Attachment #1: Type: text/plain, Size: 3132 bytes --]
Building current glibc with GCC 3.3 I get:
confstr.c:116:38: missing terminating ' character
confstr.c:130:39: missing terminating ' character
confstr.c:144:37: missing terminating ' character
confstr.c:158:39: missing terminating ' character
confstr.c:172:40: missing terminating ' character
confstr.c:186:38: missing terminating ' character
Ok to commit the appended patch to fix this?
Andreas
2004-11-28 Andreas Jaeger <aj@suse.de>
* posix/confstr.c (confstr): Use quotations marks for error
strings.
============================================================
Index: posix/confstr.c
--- posix/confstr.c 26 Nov 2004 08:15:12 -0000 1.17
+++ posix/confstr.c 28 Nov 2004 08:02:18 -0000
@@ -113,7 +113,7 @@ confstr (name, buf, len)
case _CS_POSIX_V6_ILP32_OFF32_CFLAGS:
#ifdef __ILP32_OFF32_CFLAGS
# if _POSIX_V6_ILP32_OFF32 == -1
-# error __ILP32_OFF32_CFLAGS shouldn't be defined
+# error "__ILP32_OFF32_CFLAGS shouldn't be defined"
# elif !defined _POSIX_V6_ILP32_OFF32
if (__sysconf (_SC_V6_ILP32_OFF32) < 0)
break;
@@ -127,7 +127,7 @@ confstr (name, buf, len)
case _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS:
#ifdef __ILP32_OFFBIG_CFLAGS
# if _POSIX_V6_ILP32_OFFBIG == -1
-# error __ILP32_OFFBIG_CFLAGS shouldn't be defined
+# error "__ILP32_OFFBIG_CFLAGS shouldn't be defined"
# elif !defined _POSIX_V6_ILP32_OFFBIG
if (__sysconf (_SC_V6_ILP32_OFFBIG) < 0)
break;
@@ -141,7 +141,7 @@ confstr (name, buf, len)
case _CS_POSIX_V6_LP64_OFF64_CFLAGS:
#ifdef __LP64_OFF64_CFLAGS
# if _POSIX_V6_LP64_OFF64 == -1
-# error __LP64_OFF64_CFLAGS shouldn't be defined
+# error "__LP64_OFF64_CFLAGS shouldn't be defined"
# elif !defined _POSIX_V6_LP64_OFF64
if (__sysconf (_SC_V6_LP64_OFF64) < 0)
break;
@@ -155,7 +155,7 @@ confstr (name, buf, len)
case _CS_POSIX_V6_ILP32_OFF32_LDFLAGS:
#ifdef __ILP32_OFF32_LDFLAGS
# if _POSIX_V6_ILP32_OFF32 == -1
-# error __ILP32_OFF32_LDFLAGS shouldn't be defined
+# error "__ILP32_OFF32_LDFLAGS shouldn't be defined"
# elif !defined _POSIX_V6_ILP32_OFF32
if (__sysconf (_SC_V6_ILP32_OFF32) < 0)
break;
@@ -169,7 +169,7 @@ confstr (name, buf, len)
case _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS:
#ifdef __ILP32_OFFBIG_LDFLAGS
# if _POSIX_V6_ILP32_OFFBIG == -1
-# error __ILP32_OFFBIG_LDFLAGS shouldn't be defined
+# error "__ILP32_OFFBIG_LDFLAGS shouldn't be defined"
# elif !defined _POSIX_V6_ILP32_OFFBIG
if (__sysconf (_SC_V6_ILP32_OFFBIG) < 0)
break;
@@ -183,7 +183,7 @@ confstr (name, buf, len)
case _CS_POSIX_V6_LP64_OFF64_LDFLAGS:
#ifdef __LP64_OFF64_LDFLAGS
# if _POSIX_V6_LP64_OFF64 == -1
-# error __LP64_OFF64_LDFLAGS shouldn't be defined
+# error "__LP64_OFF64_LDFLAGS shouldn't be defined"
# elif !defined _POSIX_V6_LP64_OFF64
if (__sysconf (_SC_V6_LP64_OFF64) < 0)
break;
--
Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
SUSE Linux AG, Maxfeldstr. 5, 90409 Nürnberg, Germany
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
[-- Attachment #2: Type: application/pgp-signature, Size: 188 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-11-28 8:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-28 8:03 Fix posix/confstr Andreas Jaeger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).