2000-06-07 Ulrich Drepper <drepper@redhat.com>
+ * locale/programs/ld-ctype.c: Handle SP and space consistently.
+
* locale/programs/charmap.c: Allow string arguments for
code_set_name and repertoiremap.
ELEM (ctype, class_collection, , space_value) |= BITw (tok_print);
space_seq = charmap_find_value (charmap, "SP", 2);
+ if (space_req == NULL)
+ space_seq = charmap_find_value (charmap, "space", 5);
+ if (space_seq == NULL)
+ space_seq = charmap_find_value (charmap, "U00000020", 5);
if (space_seq == NULL || space_seq->nbytes != 1)
{
if (!be_quiet)
struct charseq *seq;
seq = charmap_find_value (charmap, "space", 5);
+ if (seq == NULL)
+ seq = charmap_find_value (charmap, "SP", 2);
if (seq == NULL)
seq = charmap_find_value (charmap, "U00000020", 9);
if (seq == NULL)
struct charseq *seq;
seq = charmap_find_value (charmap, "space", 5);
+ if (seq == NULL)
+ seq = charmap_find_value (charmap, "SP", 2);
if (seq == NULL)
seq = charmap_find_value (charmap, "U00000020", 9);
if (seq == NULL)
seq = charmap_find_value (charmap, "space", 5);
+ if (seq == NULL)
+ seq = charmap_find_value (charmap, "SP", 2);
if (seq == NULL)
seq = charmap_find_value (charmap, "U00000020", 9);
if (seq == NULL)