diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-11-22 01:28:56 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-11-22 01:28:56 +0000 |
commit | 7f6532772c84ad2c93ce201501cae31b024037a2 (patch) | |
tree | d4a0dd4370c0433c5a6a6ff701cdb47572f62d1a /locale | |
parent | 87372aa9cf3b26291bfbd74e68e221da06ea953d (diff) | |
download | glibc-7f6532772c84ad2c93ce201501cae31b024037a2.tar.gz glibc-7f6532772c84ad2c93ce201501cae31b024037a2.tar.xz glibc-7f6532772c84ad2c93ce201501cae31b024037a2.zip |
Update.
* sysdeps/i386/fpu/libm-test-ulps: Increase error value for latest gcc version.
Diffstat (limited to 'locale')
-rw-r--r-- | locale/programs/ld-ctype.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/locale/programs/ld-ctype.c b/locale/programs/ld-ctype.c index d9a560783f..29ef15d0a5 100644 --- a/locale/programs/ld-ctype.c +++ b/locale/programs/ld-ctype.c @@ -1790,9 +1790,11 @@ ctype_read (struct linereader *ldfile, struct localedef_t *result, } } else - class_bit = _ISwbit (cnt); + { + class_bit = _ISwbit (cnt); - free (now->val.str.startmb); + free (now->val.str.startmb); + } } else if (now->tok == tok_digit) goto handle_tok_digit; @@ -2070,7 +2072,9 @@ with character code range values one must use the absolute ellipsis `...'")); if (strcmp (now->val.str.startmb, ctype->mapnames[cnt]) == 0) break; - if (cnt >= ctype->map_collection_nr) + if (cnt < ctype->map_collection_nr) + free (now->val.str.startmb); + else /* OK, it's a new map. */ ctype_map_new (ldfile, ctype, now->val.str.startmb, charmap); |