2001-02-18 Mark Kettenis <kettenis@gnu.org>
* malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64.
(mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64.
2001-02-17 H.J. Lu <hjl@gnu.org>
* sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use
scratch registers across the system call.
2001-02-16 Ulrich Drepper <drepper@redhat.com>
* locale/programs/ld-address.c (address_finish): Add 'S' to allow
formats for postal_fmt.
2001-02-16 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add
__ftruncate64 alias.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate):
Likewise.
2001-02-15 David Mosberger <davidm@hpl.hp.com>
* sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to
do "loadrs". Writing to bspstore already takes care of
invalidating the "clean" partition.
2001-02-06 Ulrich Drepper <drepper@redhat.com>
* locale/programs/locale.c (write_locales): Use scandir to read
directory so that the entries are sorted.
2001-02-05 Ulrich Drepper <drepper@redhat.com>
* sunrpc/xdr_rec.c (set_input_fragment): Change type of header
variable to uint32_t.
Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
2001-01-30 Yong Li <yong.li@asu.edu>
* iconv/gconv_open.c (__gconv_open): Fix the variable used to
set result->__data[cnt].__flags.
* iconv/iconv_prog.c (main): Correct error handling method name.
2000-12-21 H.J. Lu <hjl@gnu.org>
* sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
Make sign_exponent element signed.
* sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
Fix a typo.
* sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
2000-11-29 H.J. Lu <hjl@gnu.org>
* stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
2000-11-30 Jakub Jelinek <jakub@redhat.com>
* locale/setlocale.c (setname): Free for all categories, not just
LC_ALL.
(setlocale): Store a copy of string passed by user, not the string
itself.
* sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
2000-11-28 Masahide Washizawa <washi@jp.ibm.com>
* iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
(distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
and ibm1129.h.
* iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
IBM1129.
* iconvdata/ibm922.c: New file.
* iconvdata/ibm922.h: New file.
* iconvdata/ibm1124.c: New file.
* iconvdata/ibm1124.h: New file.
* iconvdata/ibm1129.c: New file.
* iconvdata/ibm1129.h: New file.
* iconvdata/testdata/IBM922: New file.
* iconvdata/testdata/IBM922..UTF8: New file.
* iconvdata/testdata/IBM1124: New file.
* iconvdata/testdata/IBM1124..UTF8: New file.
* iconvdata/testdata/IBM1129: New file.
* iconvdata/testdata/IBM1129..UTF8: New file.
2000-11-20 Ulrich Drepper <drepper@redhat.com>
* configure.in: Add --enable-all-warnings.
* config.make.in (all-warnings): New variable.
* Makeconfig (+gccwarn): Define with many more warnings if
all-warnings is yes.
2000-11-15 Ulrich Drepper <drepper@redhat.com>
* intl/Makefile: tst-gettext2.sh does not need a third parameter.
* intl/tst-gettext2.sh: Copy locale data. Adjust LOCPATH. Verify
output of program.
* intl/tst-gettext2.c: Set C locale if setting other locale
failed. Use gettext() not _().
* locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
successfully loaded a new locale.
2000-11-13 Andreas Jaeger <aj@suse.de>
* configure.in: Require gcc 2.95 or newer.
2000-11-15 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
2000-11-11 Jim Meyering <meyering@lucent.com>
* string/strndup.c (strndup): Cast return value to `char *'.
2000-11-15 Jim Meyering <meyering@ascend.com>
* sysdeps/generic/memchr.c: Remove some useless parentheses.
[HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
[HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
[! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
Also #undef __memchr.
Use `weak_alias' only if it's defined.
2000-11-10 H.J. Lu <hjl@gnu.org>
* Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
2000-11-09 Ulrich Drepper <drepper@redhat.com>
* version.h (VERSION): Bump to 2.2.
(RELEASE): Set to stable.
* posix/Makefile (tst-dir-ARGS): Fix problem with compiling in
source directory.
2000-11-08 Ulrich Drepper <drepper@redhat.com>
* iconvdata/euc-kr.c (euckr_from_ucs4): Map 0x20a9 to \xa3dc.
(BODY from direction): Remove special handling of \x5c.
* iconvdata/EUC-KR.irreversible: Adjust for this change.
* iconvdata/testdata/EUC-KR..UTF8: Likewise.
Reported by Jungshik Shin <jshin@pantheon.yale.edu>.
2000-11-03 Bruno Haible <haible@clisp.cons.org>
* locales/translit_neutral: Add more entries. Mostly from Markus Kuhn.
* locales/translit_compat: Add a few ligatures.
* locales/translit_combining: Add a few plain ASCII alternatives.
* locales/translit_fraction: Likewise. Surround with spaces.
* stdio-common/Makefile (tests): Add tst-fmemopen.
* stdio-common/tst-fmemopen.c: New file.
Test case by Ben Collins <bcollins@debian.org>.
* libio/iofopncook.c (_IO_cookie_seek): Correct test for error.
* libio/fmemopen.c (fmemopen_read): Return 0 at end of buffer.
(fmemopen_write): Set errno at end of buffer.
2000-10-29 Greg Louis <glouis@dynamicro.on.ca>
* posix/regex.h (__restrict_arr): Move definition out of #ifndef block.
Required because egcs-2.91.66 (aka 1.1.2) defines __restrict, but
doesn't define __restrict_arr.
* manual/search.texi: Correct description if VISIT values.
Patch by Ben Collins <bcollins@debian.org>.
2000-10-26 Ulrich Drepper <drepper@redhat.com>
* locales/fa_IR: Fix many problems and change to use UTF-8.
Patch by Roozbeh Pournader <roozbeh@sharif.edu>.
* SUPPORTED: Add fa_IR.UTF-8.
2000-10-22 Bruno Haible <haible@clisp.cons.org>
* iconvdata/big5hkscs.c (big5hkscs_to_ucs): Add irreversible mappings
for 0x8BF8, 0xA27E..0xA2A7.
* iconvdata/BIG5HKSCS.irreversible: New file.
2000-10-23 Jakub Jelinek <jakub@redhat.com>
* timezone/zdump.c (main): setlocale LC_CTYPE as well as LC_MESSAGES.
* timezone/zic.c (main): Likewise.
2000-10-23 Thorsten Kukuk <kukuk@suse.de>
* nscd/connections.c (invalidate_cache): Don't invalidate a cache
if it is not enabled.
2000-10-02 Jakub Jelinek <jakub@redhat.com>
* elf/nextmod1.c (failing_rtld_next_use): Ensure it is not tail call
optimized.
* sysdeps/sparc/sparc32/fpu/libm-test-ulps: New file.
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>
* charmaps/UTF-8: Add the correct Hangul syllable names. Change the
width of format control characters to 0.
2000-09-30 Bruno Haible <haible@clisp.cons.org>
2000-09-30 Bruno Haible <haible@clisp.cons.org>
* tests-mbwc/tst_wcscmp.c (tst_wcscmp): Take the sign of ret.
* tests-mbwc/dat_wcscmp.c (tst_wcscmp_loc): Don't expect precise
return values. Only the sign matters.