From 648c133790556357a430d83c2c89a2bd01df9e27 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 10 Dec 1998 10:00:31 +0000 Subject: Update. 1998-12-09 Geoff Keating * sysdeps/unix/sysv/linux/sys/procfs.h: Use sys/user.h not asm/user.h. * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: New file, like linux/sys/procfs.h but uses uid_t and gid_t. * sysdeps/unix/sysv/linux/powerpc/sys/user.h: New file, don't include . 1998-12-08 Andreas Schwab * posix/runptests.c (main): Check that regcomp did not succeed unexpectedly. * posix/runtests.c (run_a_test): Likewise. Return appropriate exit code. * posix/TESTS: Regexp "a[b-a]" should not compile. * posix/PTESTS: Comment out bogus tests GA113(2), GA145(2) and GA147(2). 1998-12-09 Andreas Schwab * locale/programs/ld-ctype.c (allocate_arrays): Don't crash if there is no codeset name. * locale/programs/ld-collate.c (collate_output): Don't crash if a character has no weight. --- locale/programs/ld-collate.c | 2 ++ locale/programs/ld-ctype.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'locale') diff --git a/locale/programs/ld-collate.c b/locale/programs/ld-collate.c index b9734c3..5accaab 100644 --- a/locale/programs/ld-collate.c +++ b/locale/programs/ld-collate.c @@ -812,6 +812,8 @@ Computing table size for collation information might take a while..."), lastp = firstp; while (lastp->next != NULL && wcscmp (name, lastp->name)) lastp = lastp->next; + if (lastp->ordering == NULL) + lastp = &collate->undefined; } weights = lastp->ordering; diff --git a/locale/programs/ld-ctype.c b/locale/programs/ld-ctype.c index 2fbefd9..3c0c8e8 100644 --- a/locale/programs/ld-ctype.c +++ b/locale/programs/ld-ctype.c @@ -1458,5 +1458,5 @@ Computing table size for character classes might take a while..."), /* We need the name of the currently used 8-bit character set to make correct conversion between this 8-bit representation and the ISO 10646 character set used internally for wide characters. */ - ctype->codeset_name = charset->code_set_name; + ctype->codeset_name = charset->code_set_name ? : ""; } -- cgit v1.1