Update.
[platform/upstream/glibc.git] / ChangeLog
index c795a5f..0955752 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
+2000-09-21  Bruno Haible  <haible@clisp.cons.org>
+
+       * stdio-common/vfscanf.c (__vfscanf, _IO_vfscanf): Fix bugs in
+       reallocation logic for MALLOC (%as, %aS formats).
+
+2000-09-24  Ulrich Drepper  <drepper@redhat.com>
+
+       * stdio-common/vfprintf.c (process_arg): Handle %hhn.
+       Add missing case in va_arg handling for numbers.
+       * stdio-common/tst-printf.c (main): Add tests for %hhu and %hhn
+       handling.  Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
+
+2000-09-20  Bruno Haible  <haible@clisp.cons.org>
+
+       * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Reject 0x80.
+       (BODY for TO_LOOP): Clear bit 7 when outputting ISO-8859-1 upper half
+       characters.
+       * iconvdata/gen-8bit-gap-1.sh: Recognize lowercase hexadecimal digits
+       as equivalent to uppercase hexadecimal digits.
+
+2000-09-20  Bruno Haible  <haible@clisp.cons.org>
+
+       * iconvdata/testdata/EUC-KR..UTF8: New file.
+       * iconvdata/testdata/EUC-TW: New file.
+       * iconvdata/testdata/EUC-TW..UTF8: New file.
+       * iconvdata/testdata/EUC-JP: New file.
+       * iconvdata/testdata/EUC-JP..UTF8: New file.
+       * iconvdata/testdata/ISO-2022-JP: New file.
+       * iconvdata/testdata/ISO-2022-JP..UTF8: New file.
+       * iconvdata/testdata/ISO-2022-JP-2: New file.
+       * iconvdata/testdata/ISO-2022-JP-2..UTF8: New file.
+       * iconvdata/testdata/ISO-2022-KR: Add a few more lines.
+       * iconvdata/testdata/ISO-2022-KR..UTF8: New file.
+       * iconvdata/testdata/ISO-2022-CN: New file.
+       * iconvdata/testdata/ISO-2022-CN..UTF8: New file.
+       * iconvdata/testdata/ISO-2022-CN-EXT: New file.
+       * iconvdata/testdata/ISO-2022-CN-EXT..UTF8: New file.
+       * iconvdata/TESTS: Enable tests for ISO-2022-JP, ISO-2022-JP-2,
+       ISO-2022-CN, ISO-2022-CN-EXT, EUC-JP, EUC-TW.
+
+2000-09-24  Andreas Jaeger  <aj@suse.de>
+
+       * elf/ldconfig.c (add_dir): Move logic to add entry to list to new
+       function add_single_dir.
+       (add_single_dir): New function.
+       (search_dir): Use add_single_dir instead of recursing.
+
+       * sysdeps/generic/dl-cache.h: Include stdint.h.
+       (struct file_entry_new): Use fixed sizes for interoperability
+       between 32bit and 64bit systems, add __unused to make alignment
+       explicit.
+       (CACHE_VERSION): Increment.
+       (struct cache_file_new): Use fixed sizes, add one more unused
+       entry to make alignment explicit.
+
+2000-09-24  Ulrich Drepper  <drepper@redhat.com>
+
+       * elf/ldconfig.c (search_dir): Make more use of d_type information.
+
+2000-09-23  Ulrich Drepper  <drepper@redhat.com>
+
+       * stdio-common/printf-parse.h (parse_one_spec): Clear
+       spec->info.i18n.  Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
+
+2000-09-18  Mark Kettenis  <kettenis@gnu.org>
+
+       * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_SYNCHRONIZED_IO):
+       #undef since we don't have msync.
+
+       * sysdeps/mach/hurd/bits/time.h: (CLOCKS_PER_SEC): Make a long int
+       constant since that is what clock_t is.
+       * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
+
+2000-09-11  Mark Kettenis  <kettenis@gnu.org>
+
+       * sysdeps/mach/getloadavg.c (getloadavg): Divide instead of
+       multiply by LOAD_SCALE.
+
+2000-09-22  Jakub Jelinek  <jakub@redhat.com>
+
+       * crypt/crypt.h (crypt, setkey, encrypt): Add __THROW.
+       (crypt_r, setkey_r, encrypt_r): Likewise.
+
+2000-09-22  Andreas Jaeger  <aj@suse.de>
+
+       * locale/programs/repertoire.c (repertoiremap_hash): Don't specify
+       array size.
+
+       * sysdeps/alpha/fpu/libm-test-ulps: New file.
+       From Christian Iseli <chris@ludwig-alpha.unil.ch>.
+
+2000-09-21  Andreas Jaeger  <aj@suse.de>
+
+       * math/libm-test.inc (atan_test): Test for existence of function.
+       (expm1_test): Likewise.
+       (acos_test): Likewise.
+       (asin_test): Likewise.
+       (exp_test): Likewise.
+       (log10_test): Likewise.
+       (log_test): Likewise.
+       (pow_test): Likewise.
+       (sqrt_test): Likewise.
+       (cos_test): Likewise.
+       (sin_test): Likewise.
+       (tan_test): Likewise.
+       (log1p_test): Likewise.
+       (log2_test): Likewise.
+
+       * sysdeps/i386/fpu/libm-test-ulps: Tweak some values for K6.
+
+       * libio/oldiofsetpos64.c: Fix alias names.
+
+2000-09-21  Martin Buchholz  <martin@xemacs.org>
+
+       * manual/terminal.texi (Allocation): Sample code correction.
+
+2000-09-20  Andreas Jaeger  <aj@suse.de>
+
+       * iconvdata/Makefile (generated): Add tst-tables.out.
+
+       * intl/Makefile (generated): Add test output.
+
+2000-09-19  Andreas Jaeger  <aj@suse.de>
+
+       * sunrpc/clnt_simp.c (callrpc): Fix write beyond end of buffer.
+       Reported by Jens-Uwe Mager <jum@helios.de>.
+
+2000-09-18  Ulrich Drepper  <drepper@redhat.com>
+
+       * version.h (VERSION): Bump to 2.1.94.
+
+       * sysdeps/mips/Dist: Add fpu/fenv_libc.h.
+       * sysdeps/sparc/sparc32/soft-fp/Dist: Add q_add.c.
+       * sysdeps/sparc/sparc64/soft-fp/Dist: Add qp_add.c.
+       * sysdeps/unix/sysv/linux/ia64/Dist: Add net/route.h.
+
+       * malloc/mtrace.c (mtrace): Mark stream as close on exec.
+
+2000-09-17  Bruno Haible  <haible@clisp.cons.org>
+
+       * iconvdata/utf-16.c (BODY for TO_LOOP): Reject UCS-4 input in the
+       range 0xD800..0xDFFF.
+       * iconvdata/unicode.c (BODY for TO_LOOP): Likewise.
+       (BODY for FROM_LOOP): Likewise.
+       * iconv/gconv_simple.c (ucs2_internal_loop): Likewise.
+       (internal_ucs2_loop): Likewise.
+       (ucs2reverse_internal_loop): Likewise.
+       (internal_ucs2reverse_loop): Likewise.
+
+2000-09-17  Bruno Haible  <haible@clisp.cons.org>
+
+       * iconvdata/utf-16.c (gconv_init): Add missing slashes to encoding
+       names.
+
+2000-09-17  Bruno Haible  <haible@clisp.cons.org>
+
+       * iconvdata/tst-table-from.c (main): Fix test for error on stdout.
+       * iconvdata/tst-table-to.c (main): Likewise.
+
+2000-09-17  Bruno Haible  <haible@clisp.cons.org>
+
+       * iconvdata/iso-ir-165.c (__isoir165_from_tab): Renamed from
+       __isoir165_tab.
+       * iconvdata/cns11643.h (__cns11643l1_to_ucs4_tab): New declaration.
+       * iconvdata/iso-2022-cn-ext.c: Include "cns11643.h".
+       (GB7590_set, GB13132_set, CNS11643_3_set, CNS11643_4_set,
+       CNS11643_5_set, CNS11643_6_set, CNS11643_7_set): Change enum values.
+       (BODY for FROM_LOOP): Fix buffer overrun. Treat CNS11643 plane 3.
+       Return __GCONV_INCOMPLETE_INPUT instead of __GCONV_EMPTY_INPUT.
+       (BODY for TO_LOOP): Fix usage of `set' vs. `used'.  Fix typo that
+       caused GB2312 to be used instead of ISO-IR-165. Treat CNS11643
+       plane 3.  Fix shift sequences. Output announcement for SS2 and SS3
+       encodings when needed.  When outputting an announcement, don't clear
+       most other announcements.
+
+2000-09-17  Bruno Haible  <haible@clisp.cons.org>
+
+       * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): Fix buffer overrun.
+       (BODY for TO_LOOP): Fix usage of `set' vs. `used'.
+
+2000-09-14  Bruno Haible  <haible@clisp.cons.org>
+
+       * intl/Versions: Add bind_textdomain_codeset.
+
+2000-09-16  Ralf Baechle  <ralf@gnu.org>
+
+       * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Reformat.  Declare
+       as function.
+       (_RTLD_EPILOGUE): Reformat.  Declare size of entry function.
+       (ELF_MACHINE_BEFORE_RTLD_RELOC): Relocate the dynamic linker itself so
+       it will even work when not loaded to the standard address.
+       (RTLD_START): Reformat.  Call _dl_start in a way that is safe even
+       before the dynamic linker itself is relocated.
+
+2000-09-18  Andreas Jaeger  <aj@suse.de>
+
+       * sysdeps/unix/sysv/linux/kernel-features.h: Always define
+       __ASSUME_32BITUIDS for MIPS.
+       * sysdeps/unix/sysv/linux/mips/ipc_priv.h: New file.
+       * sysdeps/unix/sysv/linux/mips/Dist: Add ipc_priv.h.
+
+2000-09-17  H.J. Lu  <hjl@gnu.org>
+
+       * catgets/Makefile ($(objpfx)de/libc.cat): Use
+       $(make-target-directory) instead of mkdir.
+
+2000-09-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
+
+       * sysdeps/unix/sysv/linux/kernel-features.h: Always define
+       __ASSUME_32BITUIDS for __powerpc__.
+       * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: New file.
+       * sysdeps/unix/sysv/linux/powerpc/Dist: Add ipc_priv.h.
+
+2000-09-17  Ulrich Drepper  <drepper@redhat.com>
+
+       * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Fix last
+       patch.
+       * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise.
+
+2000-09-16  Jakub Jelinek  <jakub@redhat.com>
+
+       * sysdeps/ia64/Implies: Reorder ieee754 implies so that ldbl-* comes
+       first.
+       * sysdeps/m68k/Implies: Likewise.
+       * sysdeps/sparc/sparc64/Implies: Likewise.
+
+2000-09-16  Jakub Jelinek  <jakub@redhat.com>
+
+       * elf/readlib.c (process_file): Don't error for stale .so links either.
+
+2000-09-16  Ulrich Drepper  <drepper@redhat.com>
+
+       * elf/dl-load.c (_dl_map_object_from_fd): Add one more
+       __builtin_expect.
+
+       * include/bits/xopen_lim.h (LONG_BIT): Use LONG_MAX, not INT_MAX.
+       Patch by Thorsten Kukuk <kukuk@suse.de>.
+
+       * dlfcn/Makefile (distribute): Add defaultmod1.c and defaultmod2.c.
+       (test): Add default.
+       (modules-names): Add defaultmod1 and defaultmod2.
+       Add rules to build test objects.
+
 2000-09-15  Ulrich Drepper  <drepper@redhat.com>
 
+       * wctype/wctype.h: Always include <bits/types.h>.
+       Reported by Jim Meyering <meyering@ascend.com>.
+
+       * elf/rtld.c (_dl_dynamic_weak): Set to 1 by default for now.
+       * elf/dl-support.c: Likewise.
+
+       * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Correct position of
+       st_blocks member in stat and stat64 structs.
+       Patch by Bill Nottingham <notting@redhat.com>.
+
+       * iconvdata/tst-tables.sh: Add warning that GB18030 test might
+       take longer.
+
        * math/complex.h: Don't define _Complex macro for gcc 3.  Add
        __extension__ to _Complex_I definition since gcc warns if -pedantic.
        * math/bits/cmathcalls.h (conj): Add __extension__ since we use ~.
+       Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
 
        * include/limits.h: Define LLONG_MIN, LLONG_MAX, ULLONG_MAX if
-       necessary.  Move includes of POSIX and Unix limits files to the
-       end.
+       necessary.  Move includes of POSIX and Unix limits files to the end.
        * stdlib/Makefile (tests): Add tst-limits.
        * stdlib/tst-limits.h: New file.