diff options
author | Andreas Jaeger <aj@suse.de> | 2001-04-30 08:32:48 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2001-04-30 08:32:48 +0000 |
commit | 2c179ef0138623d599fdb7044519e4f728aefc11 (patch) | |
tree | 6f01aa611a027298e5ee2d0e3995f9edaebd4933 | |
parent | b7dd38e6e7b086b69e7033de7dd5b3836226a3a8 (diff) | |
download | glibc-2c179ef0138623d599fdb7044519e4f728aefc11.tar.gz glibc-2c179ef0138623d599fdb7044519e4f728aefc11.tar.xz 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.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | posix/confstr.c | 27 |
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: |