diff options
author | Roland McGrath <roland@gnu.org> | 2002-11-21 03:41:31 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-11-21 03:41:31 +0000 |
commit | 5d0bbaaf3a253601974ec9bc30f49fc4452d12ed (patch) | |
tree | 628c2cfc45c98444356af3891817839f87e737e2 /posix | |
parent | 9a5b9056e0b3db14d5f15c10d9c4114568c5d65b (diff) | |
download | glibc-5d0bbaaf3a253601974ec9bc30f49fc4452d12ed.tar.gz glibc-5d0bbaaf3a253601974ec9bc30f49fc4452d12ed.tar.xz glibc-5d0bbaaf3a253601974ec9bc30f49fc4452d12ed.zip |
* scripts/abilist.awk: Grok function descriptor symbols.
* intl/tst-gettext.c (main): Check return values from setlocale. Add necessary unsetenv's to make LANG=existing-locale check work. * intl/tst-gettext.sh: Use mkdir -p. Copy test files unconditionally, so aborted prior runs don't confuse things. * locale/localeinfo.h (struct locale_data: union locale_data_value): Use uintptr_t instead of unsigned int for `word' member. (_NL_CURRENT_WORD): Cast to uint32_t. * posix/bug-regex5.c (main): Use union to extract _NL_COLLATE_NRULES value.
Diffstat (limited to 'posix')
-rw-r--r-- | posix/bug-regex5.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/posix/bug-regex5.c b/posix/bug-regex5.c index 9d0eef1e2f..ee4d652157 100644 --- a/posix/bug-regex5.c +++ b/posix/bug-regex5.c @@ -21,7 +21,8 @@ main (void) } printf ("current locale : %s\n", ca); - nrules = (size_t) nl_langinfo (_NL_COLLATE_NRULES); + u.string = nl_langinfo (_NL_COLLATE_NRULES); + nrules = u.word; if (nrules == 0) { printf("No rule\n"); |