Update.
authorUlrich Drepper <drepper@redhat.com>
Sun, 1 Oct 2000 19:54:15 +0000 (19:54 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sun, 1 Oct 2000 19:54:15 +0000 (19:54 +0000)
commit73fb7bf0921b90d6c3b4fa2cf1b7759c5267c6d5
tree35b5ccde681198f1290a1eee53059099f0bb163c
parent3e07621988521feb5cdd8a99760d8bad1707cb57
Update.

2000-09-30  Bruno Haible  <haible@clisp.cons.org>

* locale/programs/charmap-dir.h: New file.
* locale/programs/charmap-dir.c: New file.
* locale/programs/linereader.h (lr_create): New declaration.
* locale/programs/linereader.c (lr_create): New function, split out
from lr_open.
(lr_open): Tailcall lr_create.
* locale/programs/locale.c: Include "charmap-dir.h". Don't include
<unistd.h>.
(xstrdup): New declaration.
(more_help): Use xstrdup instead of strdup.
(write_locales): Likewise. When encountering a symbolic link, call
stat.
(write_charmaps): Simplify using the charmap-dir.h functions.
Use xstrdup instead of strdup.
* locale/programs/charmap.c: Include "charmap-dir.h". Don't include
<dirent.h> and <unistd.h>.
(cmlr_open): New function.
(charmap_read): Use cmlr_open instead of lr_open. Simplify using the
charmap-dir.h functions.
* locale/Makefile (distribute): Add charmap-dir.h.
(lib-modules): Add charmap-dir.
(CFLAGS-charmap-dir.c): Set to -Wno-write-strings, because posix_spawn
wants a 'char **', not a 'const char **'.
* include/spawn.h: New file.

2000-09-30  Bruno Haible  <haible@clisp.cons.org>

* posix/spawn_faction_init.c: Include "spawn_int.h".
(__posix_spawn_file_actions_realloc): Fix second realloc argument.

2000-09-30  Bruno Haible  <haible@clisp.cons.org>

* locale/programs/config.h (DEFAULT_CHARMAP): Set to ANSI_X3.4-1968.

2000-09-30  Bruno Haible  <haible@clisp.cons.org>

* wcsmbs/wcwidth.h (__ctype32_wctype): Remove declaration.
(internal_wcwidth): Remove the tests for L'\0' and iswprint.
* locale/programs/ld-ctype.c (find_idx): If max == NULL, return
a pointer to the table entry, without extending the table.
(allocate_arrays): Set a width only for characters with 'print'
property. Set the width of L'\0' to 0.
* locale/C-ctype.c (_nl_C_LC_CTYPE_width): Use default entry 0xff
for unprintable characters.  Set entry of NUL to 0.

2000-09-30  Bruno Haible  <haible@clisp.cons.org>

* locale/programs/charmap.c (charmap_read): Avoid redundant tests.
Don't forget to call closedir when the filename was found as a
code_set_name.

2000-09-30  Bruno Haible  <haible@clisp.cons.org>

* iconv/gconv.h (__gconv_trans_context_fct): Change first argument's
type to 'void *'.

2000-09-30  Bruno Haible  <haible@clisp.cons.org>

* locale/programs/ld-ctype.c (wctype_table_init): Initialize level1,
level2, and level3 as well.
(wctype_table_add): Remove a few unnecessary conditionals.

2000-09-30  Ralf Baechle  <ralf@gnu.org>

* wcsmbs/Versions [libc] (GLIBC_2.0): Add __mbrtowc.

2000-09-30  H.J. Lu  <hjl@gnu.org>
ChangeLog
localedata/ChangeLog
localedata/SUPPORTED
localedata/charmaps/BIG5
localedata/charmaps/GB18030
localedata/charmaps/ISO-8859-6
localedata/charmaps/ISO-8859-8
localedata/charmaps/TIS-620