aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--posix/confstr.c27
2 files changed, 20 insertions, 13 deletions
diff --git a/ChangeLog b/ChangeLog
index 81f473054f..42a27172eb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2001-04-30 Jakub Jelinek <jakub@redhat.com>
+
+ * posix/confstr.c (confstr) [_CS_V6_WIDTH_RESTRICTED_ENVS]: Move so
+ that _CS_LFS_CFLAGS can fall through to the empty returned string
+ case. Add FALLTHROUGH comment.
+
2001-04-29 Ralf Baechle <ralf@gnu.org>
* sysdeps/unix/sysv/linux/mips/bits/sem.h: Make structure
diff --git a/posix/confstr.c b/posix/confstr.c
index 053e9ed247..2ea33c81f2 100644
--- a/posix/confstr.c
+++ b/posix/confstr.c
@@ -44,19 +44,6 @@ confstr (name, buf, len)
}
break;
- case _CS_XBS5_ILP32_OFFBIG_CFLAGS:
- case _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS:
- case _CS_LFS_CFLAGS:
-#if _XBS5_LP64_OFF64 == -1 && _XBS5_LPBIG_OFFBIG == -1 && _XBS5_ILP32_OFFBIG == 1
- /* Signal that we want the new ABI. */
- {
- static const char file_offset[] = "-D_FILE_OFFSET_BITS=64";
- string = file_offset;
- string_len = sizeof (file_offset);
- }
- break;
-#endif
-
case _CS_V6_WIDTH_RESTRICTED_ENVS:
/* We have to return a newline-separated list of named of
programming environements in which the widths of blksize_t,
@@ -95,6 +82,20 @@ confstr (name, buf, len)
}
break;
+ case _CS_XBS5_ILP32_OFFBIG_CFLAGS:
+ case _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS:
+ case _CS_LFS_CFLAGS:
+#if _XBS5_LP64_OFF64 == -1 && _XBS5_LPBIG_OFFBIG == -1 && _XBS5_ILP32_OFFBIG == 1
+ /* Signal that we want the new ABI. */
+ {
+ static const char file_offset[] = "-D_FILE_OFFSET_BITS=64";
+ string = file_offset;
+ string_len = sizeof (file_offset);
+ }
+ break;
+#endif
+ /* FALLTHROUGH */
+
case _CS_LFS_LINTFLAGS:
case _CS_LFS_LDFLAGS:
case _CS_LFS_LIBS: