From 2c179ef0138623d599fdb7044519e4f728aefc11 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Mon, 30 Apr 2001 08:32:48 +0000 Subject: Update. 2001-04-30 Jakub Jelinek * 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. --- posix/confstr.c | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) (limited to 'posix') diff --git a/posix/confstr.c b/posix/confstr.c index 053e9ed..2ea33c8 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: -- cgit v1.1