aboutsummaryrefslogtreecommitdiff
path: root/posix/confstr.c
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2001-04-30 08:32:48 +0000
committerAndreas Jaeger <aj@suse.de>2001-04-30 08:32:48 +0000
commit2c179ef0138623d599fdb7044519e4f728aefc11 (patch)
tree6f01aa611a027298e5ee2d0e3995f9edaebd4933 /posix/confstr.c
parentb7dd38e6e7b086b69e7033de7dd5b3836226a3a8 (diff)
downloadglibc-2c179ef0138623d599fdb7044519e4f728aefc11.tar
glibc-2c179ef0138623d599fdb7044519e4f728aefc11.tar.gz
glibc-2c179ef0138623d599fdb7044519e4f728aefc11.tar.bz2
glibc-2c179ef0138623d599fdb7044519e4f728aefc11.zip
Update.
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.
Diffstat (limited to 'posix/confstr.c')
-rw-r--r--posix/confstr.c27
1 files changed, 14 insertions, 13 deletions
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: