diff options
author | wollman <wollman@FreeBSD.org> | 2002-09-19 03:47:36 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 2002-09-19 03:47:36 +0000 |
commit | a58c104a74fea8fc4e817cdac848bd7bf2ad9cd8 (patch) | |
tree | d88b70e191d8506328a6bb81a5fe1d07bdbaa278 | |
parent | 99bac58a2f5a55f51180c53638fe9b7d65d2e035 (diff) | |
download | FreeBSD-src-a58c104a74fea8fc4e817cdac848bd7bf2ad9cd8.zip FreeBSD-src-a58c104a74fea8fc4e817cdac848bd7bf2ad9cd8.tar.gz |
Return the correct environment name for 64-bit platforms in the
_CS_POSIX_V6_WIDTH_RESTRICTED_ENVS case.
-rw-r--r-- | lib/libc/gen/confstr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/gen/confstr.c b/lib/libc/gen/confstr.c index 5af2233..966c3fe 100644 --- a/lib/libc/gen/confstr.c +++ b/lib/libc/gen/confstr.c @@ -105,8 +105,9 @@ confstr(int name, char *buf, size_t len) goto docopy; case _CS_POSIX_V6_WIDTH_RESTRICTED_ENVS: + /* XXX - should have more complete coverage */ if (sizeof(long) * CHAR_BIT >= 64) - p = "_POSIX_V6_LPBIG_OFFBIG"; + p = "_POSIX_V6_LP64_OFF64"; else p = "_POSIX_V6_ILP32_OFFBIG"; goto docopy; |