aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2000-09-26Update.Ulrich Drepper
2000-09-26 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Use O_TRUNC to remove possible garbage at the end of the file. * stdio-common/tmpnam_r.c: Warn about insecure tmpnam_r. * stdio-common/tmpnam.c: Warn about insecure tmpnam. * stdio-common/tempnam.c: Warn about insecure tempnam. * misc/mktemp.c: Warn about insecure mktemp.
2000-09-26Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/check_fds.c: New file. * sysdeps/generic/check_fds.c: Check that file opened is really /dev/null.
2000-09-26Update.Ulrich Drepper
* elf/rtld.c (process_envvars): Open debug output file with O_NOFOLLOW.
2000-09-26Update.Ulrich Drepper
2000-09-25 Ulrich Drepper <drepper@redhat.com> * locale/Makefile (routines): Add nl_langinfo_l. * locale/Versions [libc] (GLIBC_2.2): Add __nl_langinfo_l. * locale/nl_langinfo_l.c: New file.
2000-09-26Update.Ulrich Drepper
2000-09-23 Bruno Haible <haible@clisp.cons.org> * iconvdata/gbk.c (USE_PRIVATE_AREA): Define to 0. (__gbk_to_ucs): Conditionalize private area mappings. (__gbk_from_ucs4_tab9): Likewise. (BODY for TO_LOOP): Likewise. * iconvdata/testdata/GBK: Don't use characters not yet in Unicode. * iconvdata/testdata/GBK..UTF-8: Likewise. * iconvdata/tst-tables.sh: Enable GBK test. 2000-09-23 Bruno Haible <haible@clisp.cons.org> * iconvdata/gbk.c (__gbk_to_ucs): Swap U+2014 and U+2015. (__gbk_from_ucs4_tab4): Swap entries for U+2014 and U+2015. (BODY for FROM_LOOP): Reject input > 0xFEA0, avoids out-of-bounds array access. * iconvdata/gbgbk.c (BODY for FROM_LOOP): Map 0xA844 to 0xA1AA. * iconvdata/testdata/GBK..UTF8: Swap U+2014 and U+2015. 2000-09-23 Bruno Haible <haible@clisp.cons.org> * iconvdata/johab.c (final_to_ucs): Fix typos. (jamo_from_ucs_table): Likewise. (BODY for FROM_LOOP): Map 0x5c to U+20A9. Reject ranges 0xD9E6..0xD9FE and 0xDEF2..0xDEFE. (BODY for TO_LOOP): Map U+20A9 to 0x5c. Don't produce values in the range 0xD9E6..0xD9FE. * iconvdata/tst-tables.sh: Enable JOHAB testing.
2000-09-25Update.Ulrich Drepper
* charmaps/GBK: Add commented mappings for GBK characters not yet in Unicode. 2000-09-23 Bruno Haible <haible@clisp.cons.org>
2000-09-25Update.Ulrich Drepper
2000-09-23 Bruno Haible <haible@clisp.cons.org> * charmaps/GBK: Remove /x80 entry.
2000-09-25Update.Ulrich Drepper
2000-09-25 Ulrich Drepper <drepper@redhat.com> * SUPPORTED: Remove ko_KR.JOHAB. We don't want to encourage people to use it. 2000-09-23 Bruno Haible <haible@clisp.cons.org> * charmaps/JOHAB: Add identity mapping for 0x7f.
2000-09-25Update.Ulrich Drepper
2000-09-25 Ulrich Drepper <drepper@redhat.com> * iconv/gconv_conf.c (__gconv_get_path): Fix problem with relative GCONV_PATH.
2000-09-25Update.Ulrich Drepper
2000-09-24 Ulrich Drepper <drepper@redhat.com> * libio/genops.c (_IO_doallocbuf): Don't use single byte buffer if stream is in wide mode. * stdio-common/vfprintf.c (buffered_vfprintf): Orient stream. 2000-09-21 Bruno Haible <haible@clisp.cons.org> * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Shift __count by 3, not 2. (INIT_PARAMS, UPDATE_PARAMS): Likewise. handling. * stdio/tst-printf.sh: Adjust expected results. Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
2000-09-24Update.Ulrich Drepper
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-24Update.Ulrich Drepper
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-24Update.Ulrich Drepper
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. (add_single_dir): New function. * elf/ldconfig.c (search_dir): Make more use of d_type information.
2000-09-24Update.Ulrich Drepper
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-24Update.Ulrich Drepper
2000-09-24 Ulrich Drepper <drepper@redhat.com> * locales/en_GB: Update LC_PAPER and LC_MEASUREMENT information. Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
2000-09-24Update LC_PAPER and LC_MEASUREMENT information.Ulrich Drepper
2000-09-24Update.Andreas Jaeger
* 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.
2000-09-24Update.Andreas Jaeger
2000-09-24 Andreas Jaeger <aj@suse.de> * 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-24Update.Ulrich Drepper
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-24(parse_one_spec): Clear spec->info.i18n.Ulrich Drepper
2000-09-23* sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_SYNCHRONIZED_IO): #undef since ↵Mark Kettenis
we don't have msync. * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_SYNCHRONIZED_IO): #undef since we don't have msync.
2000-09-23* sysdeps/mach/hurd/bits/time.h: (CLOCKS_PER_SEC): Make a long int constant ↵Mark Kettenis
since that is what clock_t is. * sysdeps/mach/hurd/i386/bits/time.h: Likewise. 2000-09-18 Mark Kettenis <kettenis@gnu.org> * 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-23* sysdeps/mach/getloadavg.c (getloadavg): Divide instead of multiply by ↵Mark Kettenis
LOAD_SCALE. 2000-09-11 Mark Kettenis <kettenis@gnu.org> * sysdeps/mach/getloadavg.c (getloadavg): Divide instead of multiply by LOAD_SCALE.
2000-09-22Update.Andreas Jaeger
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-22Update.Andreas Jaeger
* locale/programs/repertoire.c (repertoiremap_hash): Don't specify array size.
2000-09-22Update.Andreas Jaeger
2000-09-22 Andreas Jaeger <aj@suse.de> * sysdeps/alpha/fpu/libm-test-ulps: New file. From Christian Iseli <chris@ludwig-alpha.unil.ch>.
2000-09-21Update.Andreas Jaeger
* 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.
2000-09-21Update.Andreas Jaeger
* sysdeps/i386/fpu/libm-test-ulps: Tweak some values for K6.
2000-09-21Update.Andreas Jaeger
2000-09-21 Andreas Jaeger <aj@suse.de> * libio/oldiofsetpos64.c: Fix alias names.
2000-09-20Update.Andreas Jaeger
2000-09-21 Martin Buchholz <martin@xemacs.org> * manual/terminal.texi (Allocation): Sample code correction.
2000-09-20 * pthread.c [!__ASSUME_REALTIME_SIGNALS]: Make inclusion of ↵Andreas Jaeger
"testrtsig.h" conditional. 2000-09-20 Andreas Jaeger <aj@suse.de> * pthread.c [!__ASSUME_REALTIME_SIGNALS]: Make inclusion of "testrtsig.h" conditional.
2000-09-20Update.Andreas Jaeger
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-19(Supported Configurations): Add s390-linux.Andreas Jaeger
2000-09-19Update.glibc-2.1.94cvs/libc-2_1_94Ulrich Drepper
* sysdeps/sparc/sparc32/soft-fp/Dist: Add q_add.c. * sysdeps/sparc/sparc64/soft-fp/Dist: Add qp_add.c.
2000-09-19Update.Ulrich Drepper
* sysdeps/mips/Dist: Add fpu/fenv_libc.h. * sysdeps/sparc/sparc32/soft-fp/Dist: Add q_add.c and qp_add.c. * sysdeps/unix/sysv/linux/ia64/Dist: Add net/route.h.
2000-09-18Update.Ulrich Drepper
2000-09-18 Ulrich Drepper <drepper@redhat.com> * version.h (VERSION): Bump to 2.1.94. * 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-18Add bind_textdomain_codeset.Ulrich Drepper
2000-09-18Update.Andreas Jaeger
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-18MIPS specific file. MIPS always had 32 bit uids.Andreas Jaeger
2000-09-18Update.Ulrich Drepper
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. * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Fix last * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise.
2000-09-17Update.Ulrich Drepper
2000-09-17 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Fix last patch.
2000-09-16Update.Ulrich Drepper
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. * elf/dl-load.c (_dl_map_object_from_fd): Add one more __builtin_expect.
2000-09-16Update.Ulrich Drepper
* include/bits/xopen_lim.h (LONG_BIT): Use LONG_MAX, not INT_MAX. Patch by Thorsten Kukuk <kukuk@suse.de>.
2000-09-16Update.Ulrich Drepper
2000-09-16 Ulrich Drepper <drepper@redhat.com> * 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-16Update.Ulrich Drepper
* wctype/wctype.h: Always include <bits/types.h>. Reported by Jim Meyering <meyering@ascend.com>.
2000-09-16Update.Ulrich Drepper
* elf/rtld.c (_dl_dynamic_weak): Set to 1 by default for now. * elf/dl-support.c: Likewise. necessary. Move includes of POSIX and Unix limits files to the end.
2000-09-16Update.Ulrich Drepper
* 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>.
2000-09-16Update.Ulrich Drepper
Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
2000-09-16Update.Ulrich Drepper
* iconvdata/tst-tables.sh: Add warning that GB18030 test might take longer.
2000-09-16Update.Ulrich Drepper
* 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 ~.