Update.
* string/stratcliff.c: Add one more strchr test for something which was reported to not work (which proofed to be wrong).
This commit is contained in:
parent
bd979c005c
commit
76e680a87a
@ -1,5 +1,9 @@
|
|||||||
1999-11-23 Ulrich Drepper <drepper@cygnus.com>
|
1999-11-23 Ulrich Drepper <drepper@cygnus.com>
|
||||||
|
|
||||||
|
* string/stratcliff.c: Add one more strchr test for something
|
||||||
|
which was reported to not work
|
||||||
|
(which proofed to be wrong).
|
||||||
|
|
||||||
* iconv/skeleton.c: It's __is_last, not is_last.
|
* iconv/skeleton.c: It's __is_last, not is_last.
|
||||||
|
|
||||||
* locale/programs/ld-ctype.c (ctype_finish): Correct method to find
|
* locale/programs/ld-ctype.c (ctype_finish): Correct method to find
|
||||||
|
@ -551,9 +551,17 @@ character '%s' in class `%s' must not be in class `%s'"),
|
|||||||
nbytes) <= 0)
|
nbytes) <= 0)
|
||||||
{
|
{
|
||||||
/* Find the UCS value for `bytes'. */
|
/* Find the UCS value for `bytes'. */
|
||||||
uint32_t wch = repertoire_find_value (ctype->repertoire, bytes,
|
|
||||||
nbytes);
|
|
||||||
int inner;
|
int inner;
|
||||||
|
uint32_t wch;
|
||||||
|
struct charseq *seq = charmap_find_symbol (charmap, bytes, nbytes);
|
||||||
|
|
||||||
|
if (seq == NULL)
|
||||||
|
wch = ILLEGAL_CHAR_VALUE;
|
||||||
|
else if (seq->ucs4 != UNINITIALIZED_CHAR_VALUE)
|
||||||
|
wch = seq->ucs4;
|
||||||
|
else
|
||||||
|
wch = repertoire_find_value (ctype->repertoire, seq->name,
|
||||||
|
strlen (seq->name));
|
||||||
|
|
||||||
if (wch != ILLEGAL_CHAR_VALUE)
|
if (wch != ILLEGAL_CHAR_VALUE)
|
||||||
/* We are only interested in the side-effects of the
|
/* We are only interested in the side-effects of the
|
||||||
@ -1097,7 +1105,7 @@ find_idx (struct locale_ctype_t *ctype, uint32_t **table, size_t *max,
|
|||||||
(*max - old_max) * sizeof (uint32_t));
|
(*max - old_max) * sizeof (uint32_t));
|
||||||
}
|
}
|
||||||
|
|
||||||
*act = cnt;
|
*act = cnt + 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
return &(*table)[cnt];
|
return &(*table)[cnt];
|
||||||
@ -3084,9 +3092,18 @@ Computing table size for character classes might take a while..."),
|
|||||||
nbytes) <= 0)
|
nbytes) <= 0)
|
||||||
{
|
{
|
||||||
/* Find the UCS value for `bytes'. */
|
/* Find the UCS value for `bytes'. */
|
||||||
uint32_t wch = repertoire_find_value (ctype->repertoire, bytes,
|
|
||||||
nbytes);
|
|
||||||
int inner;
|
int inner;
|
||||||
|
uint32_t wch;
|
||||||
|
struct charseq *seq =
|
||||||
|
charmap_find_symbol (charmap, bytes, nbytes);
|
||||||
|
|
||||||
|
if (seq == NULL)
|
||||||
|
wch = ILLEGAL_CHAR_VALUE;
|
||||||
|
else if (seq->ucs4 != UNINITIALIZED_CHAR_VALUE)
|
||||||
|
wch = seq->ucs4;
|
||||||
|
else
|
||||||
|
wch = repertoire_find_value (ctype->repertoire, seq->name,
|
||||||
|
strlen (seq->name));
|
||||||
|
|
||||||
if (wch != ILLEGAL_CHAR_VALUE)
|
if (wch != ILLEGAL_CHAR_VALUE)
|
||||||
{
|
{
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
1999-11-23 Ulrich Drepper <drepper@cygnus.com>
|
||||||
|
|
||||||
|
* locales/ko_KR: New file.
|
||||||
|
* charmaps/EUC-KR: New file.
|
||||||
|
Contributed by Won-kyu Park <wkpark@chem.skku.ac.kr>.
|
||||||
|
|
||||||
1999-11-22 Ulrich Drepper <drepper@cygnus.com>
|
1999-11-22 Ulrich Drepper <drepper@cygnus.com>
|
||||||
|
|
||||||
* locales/ja_JP [LC_CTYPE] (cntrl): Add PAD.
|
* locales/ja_JP [LC_CTYPE] (cntrl): Add PAD.
|
||||||
|
1287
localedata/charmaps/EUC-KR
Normal file
1287
localedata/charmaps/EUC-KR
Normal file
File diff suppressed because it is too large
Load Diff
1755
localedata/locales/ko_KR
Normal file
1755
localedata/locales/ko_KR
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,5 +1,5 @@
|
|||||||
/* Test for string function add boundaries of usable memory.
|
/* Test for string function add boundaries of usable memory.
|
||||||
Copyright (C) 1996, 1997 Free Software Foundation, Inc.
|
Copyright (C) 1996, 1997, 1999 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
|
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
|
||||||
|
|
||||||
@ -116,6 +116,14 @@ main (int argc, char *argv[])
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Special test. */
|
||||||
|
adr[size - 1] = '\0';
|
||||||
|
if (strchr (&adr[size - 1], '\n') != NULL)
|
||||||
|
{
|
||||||
|
puts ("strchr flunked for test of empty string at end of page");
|
||||||
|
result = 1;
|
||||||
|
}
|
||||||
|
|
||||||
/* strrchr test */
|
/* strrchr test */
|
||||||
for (outer = size - 1; outer >= MAX (0, size - 128); --outer)
|
for (outer = size - 1; outer >= MAX (0, size - 128); --outer)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user