mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-27 11:43:34 +08:00
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>
This commit is contained in:
parent
3e07621988
commit
73fb7bf092
70
ChangeLog
70
ChangeLog
@ -1,4 +1,72 @@
|
||||
2000-09-30 H.J. Lu <hjl@gnu.org>
|
||||
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>
|
||||
|
||||
* sysdeps/ieee754/ldbl-96/s_ceill.c (__ceill): Handle overflow.
|
||||
* sysdeps/ieee754/ldbl-96/s_floorl.c (__floorl): Likewise.
|
||||
|
@ -1,3 +1,7 @@
|
||||
2000-09-30 Bruno Haible <haible@clisp.cons.org>
|
||||
|
||||
* SUPPORTED: Add ko_KR.UTF-8.
|
||||
|
||||
2000-10-01 Bruno Haible <haible@clisp.cons.org>
|
||||
|
||||
* charmaps/BIG5: Add a width table.
|
||||
|
@ -99,6 +99,7 @@ iw_IL ISO-8859-8
|
||||
ja_JP.EUC-JP EUC-JP
|
||||
kl_GL ISO-8859-1
|
||||
ko_KR.EUC-KR EUC-KR
|
||||
ko_KR.UTF-8 UTF-8
|
||||
kw_GB ISO-8859-1
|
||||
lt_LT ISO-8859-13
|
||||
lv_LV ISO-8859-13
|
||||
|
@ -14073,3 +14073,7 @@ CHARMAP
|
||||
% <U256F> /xf9/xfd BOX DRAWINGS LIGHT ARC UP AND LEFT
|
||||
<U2593> /xf9/xfe DARK SHADE
|
||||
END CHARMAP
|
||||
|
||||
WIDTH
|
||||
<U3000>...<U2593> 2
|
||||
END WIDTH
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -223,3 +223,7 @@ CHARMAP
|
||||
<U0651> /xf1 ARABIC SHADDA
|
||||
<U0652> /xf2 ARABIC SUKUN
|
||||
END CHARMAP
|
||||
|
||||
WIDTH
|
||||
<U064B>...<U0652> 0
|
||||
END WIDTH
|
||||
|
@ -230,3 +230,7 @@ CHARMAP
|
||||
<U200E> /xfd LEFT-TO-RIGHT MARK
|
||||
<U200F> /xfe RIGHT-TO-LEFT MARK
|
||||
END CHARMAP
|
||||
|
||||
WIDTH
|
||||
<U200E>...<U200F> 0
|
||||
END WIDTH
|
||||
|
@ -225,3 +225,9 @@ CHARMAP
|
||||
<U0E5A> /xfa THAI CHARACTER ANGKHANKHU
|
||||
<U0E5B> /xfb THAI CHARACTER KHOMUT
|
||||
END CHARMAP
|
||||
|
||||
WIDTH
|
||||
<U0E31> 0
|
||||
<U0E34>...<U0E3A> 0
|
||||
<U0E47>...<U0E4E> 0
|
||||
END WIDTH
|
||||
|
Loading…
Reference in New Issue
Block a user