Ulrich Drepper [Fri, 8 Dec 2000 17:27:11 +0000 (17:27 +0000)]
Update.
2000-12-08 Jakub Jelinek <jakub@redhat.com>
* elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
cp + len. Compute where from dirname.
Reported by <jreiser@BitWagon.com>.
2000-12-08 Richard Henderson <rth@twiddle.net>
* sysdeps/alpha/_mcount.S: Fix typo.
* sysdeps/alpha/strncpy.S: Likewise.
* sysdeps/alpha/alphaev6/Implies: New file.
* sysdeps/alpha/alphaev67/Implies: New file.
* sysdeps/alpha/alphaev67/ffs.S: New file.
* sysdeps/alpha/alphaev67/ffsll.S: New file.
* sysdeps/alpha/alphaev67/rawmemchr.S: New file.
* sysdeps/alpha/alphaev67/stpcpy.S: New file.
* sysdeps/alpha/alphaev67/stpncpy.S: New file.
* sysdeps/alpha/rawmemchr.S: New file.
* sysdeps/alpha/strcat.S: Tail call to __stxcpy.
* sysdeps/alpha/strcpy.S: Likewise.
From GMP 3.1.1:
* sysdeps/alpha/alphaev6/addmul_1.s: New file.
From rick.gorton@alpha-processor.com:
* sysdeps/alpha/alphaev6/memchr.S: New file.
* sysdeps/alpha/alphaev6/memcpy.S: New file.
* sysdeps/alpha/alphaev6/memset.S: New file.
* sysdeps/alpha/alphaev6/stxcpy.S: New file.
* sysdeps/alpha/alphaev6/stxncpy.S: New file.
* sysdeps/alpha/alphaev67/strcat.S: New file.
* sysdeps/alpha/alphaev67/strchr.S: New file.
* sysdeps/alpha/alphaev67/strlen.S: New file.
* sysdeps/alpha/alphaev67/strncat.S: New file.
* sysdeps/alpha/htonl.S: Use a shorter sequence.
2000-12-08 Jakub Jelinek <jakub@redhat.com>
* inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
Reported by <pspencer@fields.utoronto.ca>.
2000-12-07 Jes Sorensen <jes@linuxcare.com>
* sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
Pointed out by Hans Boehm.
2000-12-07 H.J. Lu <hjl@gnu.org>
* elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
2000-12-07 Andreas Jaeger <aj@suse.de>
* misc/error.c: Add format attributes for __error and __error_at_line.
* nscd/dbg_log.h: Add format attribute.
2000-12-08 Ulrich Drepper <drepper@redhat.com>
* misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
* sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
* manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
Ulrich Drepper [Thu, 7 Dec 2000 05:22:24 +0000 (05:22 +0000)]
Update.
2000-12-07 Dan Pop <Dan.Pop@cern.ch>
* sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
Ulrich Drepper [Thu, 7 Dec 2000 00:33:59 +0000 (00:33 +0000)]
Update.
2000-12-06 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
(sysdep_routines): Add uitrunc.
* sysdeps/unix/sysv/aix/uitrunc.c: New file.
Patches by Michael Keezer <mkeezer@redhat.com>.
Ulrich Drepper [Thu, 7 Dec 2000 00:29:17 +0000 (00:29 +0000)]
(pthread_detach): Allow case where the thread has already terminated.
Roland McGrath [Thu, 7 Dec 2000 00:06:54 +0000 (00:06 +0000)]
* sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
argument data, since it will be used to copy out too (for INOUT).
Reported by Marcus Brinkmann <marcus@gnu.org>.
* sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
(__ioctl): Use uintptr_t instead of unsigned long int.
* stdlib/l64a.c (l64a): Truncate M to 32-bit value.
Roland McGrath [Thu, 7 Dec 2000 00:05:30 +0000 (00:05 +0000)]
2000-12-06 Roland McGrath <roland@frob.com>
* sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
argument data, since it will be used to copy out too (for INOUT).
Reported by Marcus Brinkmann <marcus@gnu.org>.
* sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
(__ioctl): Use uintptr_t instead of unsigned long int.
Ulrich Drepper [Wed, 6 Dec 2000 22:09:46 +0000 (22:09 +0000)]
Update.
2000-12-06 Jim Wilson <wilson@redhat.com>
* stdlib/l64a.c (l64a): Truncate m to 32-bit value.
Ulrich Drepper [Wed, 6 Dec 2000 20:58:25 +0000 (20:58 +0000)]
Update.
2000-12-06 Ulrich Drepper <drepper@redhat.com>
* stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
x.5 rounding correctly.
Ulrich Drepper [Wed, 6 Dec 2000 17:10:47 +0000 (17:10 +0000)]
Update.
* stdio-common/perror.c (perror): Conditionalize code dealing with
wide-oriented streams on USE_IN_LIBIO.
2000-12-06 Mark Kettenis <kettenis@gnu.org>
Ulrich Drepper [Wed, 6 Dec 2000 17:10:20 +0000 (17:10 +0000)]
(perror): Conditionalize code dealing with wide-oriented streams on USE_IN_LIBIO.
Mark Kettenis [Wed, 6 Dec 2000 12:47:03 +0000 (12:47 +0000)]
* sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark as internal_function.
2000-12-06 Mark Kettenis <kettenis@gnu.org>
* sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
as internal_function.
Ulrich Drepper [Wed, 6 Dec 2000 04:05:42 +0000 (04:05 +0000)]
Update.
2000-12-05 Ulrich Drepper <drepper@redhat.com>
* sysdeps/alpha/elf/start.S (__data_start): Define.
Ulrich Drepper [Wed, 6 Dec 2000 03:28:07 +0000 (03:28 +0000)]
Update.
2000-12-05 H.J. Lu <hjl@gnu.org>
* nss/getXXent_r.c (setup): Change the return type to int.
Ulrich Drepper [Wed, 6 Dec 2000 03:16:46 +0000 (03:16 +0000)]
Update.
2000-12-05 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
(sysdep_routines): Add restf and savef.
* sysdeps/unix/sysv/aix/restf.c: New file.
* sysdeps/unix/sysv/aix/savef.c: New file.
Patches by Michael Keezer <mkeezer@redhat.com>.
* sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
if O_DIRECTORY is not defined.
Patch by Michael Keezer <mkeezer@redhat.com>.
* include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
Patch by Michael Keezer <mkeezer@redhat.com>.
* locale/programs/linereader.c (get_toplvl_escape): Recognize more
than 4 bytes in escape sequence.
Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
Ulrich Drepper [Wed, 6 Dec 2000 02:40:40 +0000 (02:40 +0000)]
(get_toplvl_escape): Recognize more than 4 bytes in escape sequence.
Andreas Jaeger [Tue, 5 Dec 2000 21:28:12 +0000 (21:28 +0000)]
Update.
Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
Andreas Jaeger [Tue, 5 Dec 2000 21:28:04 +0000 (21:28 +0000)]
Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
Andreas Jaeger [Tue, 5 Dec 2000 18:00:04 +0000 (18:00 +0000)]
Update.
* sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
set mips2.
Andreas Jaeger [Tue, 5 Dec 2000 17:41:15 +0000 (17:41 +0000)]
Update.
* sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
* sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
* sysdeps/unix/mips/sysdep.h: Use SYS_ify.
Patches by "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>.
Andreas Jaeger [Tue, 5 Dec 2000 17:34:28 +0000 (17:34 +0000)]
Update.
2000-12-05 Andreas Jaeger <aj@suse.de>
* elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
internal_function.
* sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
* sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
* sysdeps/generic/dl-cache.c: Remove declaration of
_dl_sysdep_read_whole_file.
* elf/dl-load.c (_dl_map_object): Remove declaration of
_dl_load_cache_lookup.
* sysdeps/generic/ldsodefs.h: Add declarations of
_dl_load_cache_lookup, _dl_unload_cache,
_dl_sysdep_read_whole_file, _dl_sysdep_start and
_dl_sysdep_start_cleanup.
* elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
now.
* elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
* sysdeps/generic/dl-environ.c: Likewise.
* stdio-common/printf_fp.c: Include <gmp.h> instead of
<stdlib/gmp.h>.
* math/atest-exp.c: Likewise.
* math/atest-exp2.c: Likewise.
* math/atest-sincos.c: Likewise.
* stdio-common/_itoa.c: Likewise.
* stdio-common/_itowa.c: Likewise.
* include/gmp.h: New file with internal prototypes.
* sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
here to...
* include/setjmp.h: ...here.
* locale/Makefile (routines): Remove codeset_name since it's not
needed anywhere.
* locale/codeset_name.c: Removed.
Andreas Jaeger [Tue, 5 Dec 2000 17:21:34 +0000 (17:21 +0000)]
Removed, it's not needed anymore.
Ulrich Drepper [Tue, 5 Dec 2000 16:19:20 +0000 (16:19 +0000)]
Update.
2000-12-05 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
* sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
Ulrich Drepper [Tue, 5 Dec 2000 16:18:48 +0000 (16:18 +0000)]
Define MAXHOSTNAMELEN.
Andreas Jaeger [Tue, 5 Dec 2000 14:56:14 +0000 (14:56 +0000)]
Update.
2000-12-05 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
Andreas Jaeger [Tue, 5 Dec 2000 09:29:23 +0000 (09:29 +0000)]
Update.
2000-12-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
* sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
available.
Andreas Jaeger [Tue, 5 Dec 2000 08:17:58 +0000 (08:17 +0000)]
Update.
2000-12-05 Andreas Jaeger <aj@suse.de>
* nss/test-netdb.c: Mark local functions as static to avoid
warnings.
(main): Use return to silence warning.
* stdlib/test-canon.c (check_path): Mark as static to avoid warning.
* stdio-common/test-popen.c: Mark local functions as static to
avoid warnings.
(main): Use return to silence warning.
* stdlib/testsort.c (compare): Mark as static to avoid warning.
* assert/test-assert.c: Mark local functions as static to avoid
warnings.
* assert/test-assert-perr.c: Likewise.
* math/libm-test.inc (main): Use return to silence warnings.
Andreas Jaeger [Tue, 5 Dec 2000 08:14:51 +0000 (08:14 +0000)]
Mark local functions as static to avoid warnings. (main): Use return to silence warning.
Ulrich Drepper [Tue, 5 Dec 2000 07:40:19 +0000 (07:40 +0000)]
Add HAVE_ASM_GLOBAL_DOT_NAME.
Ulrich Drepper [Tue, 5 Dec 2000 06:53:55 +0000 (06:53 +0000)]
Update.
* math/fenv.h: Fix typo in comment.
Ulrich Drepper [Tue, 5 Dec 2000 06:49:26 +0000 (06:49 +0000)]
Update.
* math/test-misc.c (main): Add a few more over and underflow tests
for scalb.
Ulrich Drepper [Tue, 5 Dec 2000 06:36:53 +0000 (06:36 +0000)]
Update.
* sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
* sysdeps/i386/fpu/e_scalbf.S: Likewise.
* sysdeps/i386/fpu/e_scalbl.S: Likewise.
* math/w_scalb.c: Don't use matherr except in SVID mode.
* math/w_scalbf.c: Likewise.
* math/w_scalbl.c: Likewise.
* math/test-misc.c: Add test for NaN and scalbl.
Reported by Fred J. Tydeman <tydeman@tybor.com>.
2000-12-04 Ulrich Drepper <drepper@redhat.com>
Ulrich Drepper [Tue, 5 Dec 2000 04:18:59 +0000 (04:18 +0000)]
Update.
2000-12-04 Ulrich Drepper <drepper@redhat.com>
* configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
* config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
* include/libc-symbols.h (strong_alias): Define special version
for HAVE_ASM_GLOBAL_DOT_NAME.
(weak_alias): Likewise.
* sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
* sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
(sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
getutxline, pututxline, and utmpxname.
* sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
* sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
* sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
* sysdeps/unix/sysv/aix/pread.c: Define pread alias.
* sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
* sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
* sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
* sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup. Add comments.
* sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
Patches by Michael Keezer <mkeezer@redhat.com>.
Ulrich Drepper [Tue, 5 Dec 2000 00:41:57 +0000 (00:41 +0000)]
Update.
2000-12-04 H.J. Lu <hjl@gnu.org>
* configure.in: Change --with-oldest-abi=ABI to
--enable-oldest-abi=ABI.
2000-12-02 Bruno Haible <haible@clisp.cons.org>
* stdio-common/perror.c (perror): If stderr is wide-oriented, use
fwprintf instead of fprintf.
2000-12-01 H.J. Lu <hjl@gnu.org>
* nss/getXXbyYY_r.c: Fix verioned symbol handling.
* nss/getXXent_r.c: Likewise.
* sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2000-11-30 H.J. Lu <hjl@gnu.org>
* scripts/abi-versions.awk (oldest_abi): New variable.
Handle the oldest ABI supported.
* Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
for scripts/abi-versions.awk.
* configure.in: Add --with-oldest-abi=ABI.
* configure: Rebuild.
* config.make.in (oldest-abi): New.
* config.h.in (GLIBC_OLDEST_ABI): New.
* csu/version.c (banner): Support GLIBC_OLDEST_ABI.
Ulrich Drepper [Mon, 4 Dec 2000 08:37:38 +0000 (08:37 +0000)]
Update.
2000-12-04 Ulrich Drepper <drepper@redhat.com>
* sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
DECIMAL_DIG definitions.
* sysdeps/arm/fpu/bits/mathdef.h: Likewise
* sysdeps/generic/bits/mathdef.h: Likewise
* sysdeps/i386/fpu/bits/mathdef.h: Likewise
* sysdeps/ia64/fpu/bits/mathdef.h: Likewise
* sysdeps/m68k/fpu/bits/mathdef.h: Likewise
* sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
* sysdeps/sparc/fpu/bits/mathdef.h: Likewise
* sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
* math/test-fenv.c (main): Use return instead of exit to avoid warning.
* math/atest-exp.c: Mark local functions as static to avoid warnings.
* math/atest-exp2.c: Likewise.
* math/atest-sincos.c: Likewise.
Ulrich Drepper [Mon, 4 Dec 2000 07:15:24 +0000 (07:15 +0000)]
Update.
* sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
Reported by Fred J. Tydeman <tydeman@tybor.com>.
Ulrich Drepper [Mon, 4 Dec 2000 04:56:36 +0000 (04:56 +0000)]
Update.
* sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
the handling of denormalized numbers.
* math/test-misc.c (main): Test for fpclassify and pseudo denormal
numbers on x86.
* sysdeps/i386/fpu/fpclassifyl.c: New file.
Ulrich Drepper [Mon, 4 Dec 2000 01:27:16 +0000 (01:27 +0000)]
Update.
* math/test-misc.c (main): Test for pseudo denormal numbers on x86.
Ulrich Drepper [Mon, 4 Dec 2000 01:26:09 +0000 (01:26 +0000)]
Update.
* sysdeps/i386/fpu/fpclassify.c: New file.
Ulrich Drepper [Mon, 4 Dec 2000 01:20:04 +0000 (01:20 +0000)]
Update.
* sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
pseudo denormal representation of LDBL_MIN.
* configure.in: Correct test for pserver CVS access.
Ulrich Drepper [Mon, 4 Dec 2000 00:11:40 +0000 (00:11 +0000)]
Update.
* iconvdata/SJIS.irreversible: Remove unnecessary entries.
* iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
* iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
* iconvdata/jis0208.c: Likewise.
* iconvdata/jis0212.c: Likewise.
Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
Ulrich Drepper [Sun, 3 Dec 2000 23:38:18 +0000 (23:38 +0000)]
Update.
* math/test-misc.c (main): More tests for frexp and some for
fpclassify and isnormal.
Ulrich Drepper [Sun, 3 Dec 2000 23:35:00 +0000 (23:35 +0000)]
Update.
* sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
test for subnormal.
Reported by Fred J. Tydeman <tydeman@tybor.com>.
Ulrich Drepper [Sun, 3 Dec 2000 10:00:46 +0000 (10:00 +0000)]
Update.
2000-12-03 Ulrich Drepper <drepper@redhat.com>
* math/test-misc.c (main): Add tests for frexp.
Reported by Fred J. Tydeman <tydeman@tybor.com>.
* sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
Ulrich Drepper [Sat, 2 Dec 2000 23:09:01 +0000 (23:09 +0000)]
Update.
2000-12-02 H.J. Lu <hjl@gnu.org>
* locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
'\0' to wcschr.
Ulrich Drepper [Sat, 2 Dec 2000 18:22:43 +0000 (18:22 +0000)]
Update.
* sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
* sysdeps/i386/fpu/s_frexpf.S: Likewise.
* sysdeps/i386/fpu/s_frexpl.S: Likewise.
Ulrich Drepper [Sat, 2 Dec 2000 08:18:55 +0000 (08:18 +0000)]
Update.
2000-12-02 Ulrich Drepper <drepper@redhat.com>
* sysdeps/generic/glob.c: Adjust types of several variables to
avoid warnings.
Ulrich Drepper [Sat, 2 Dec 2000 01:18:11 +0000 (01:18 +0000)]
Update.
2000-12-01 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
* configure.in: Correct test for pserver CVS access.cc
Ulrich Drepper [Sat, 2 Dec 2000 01:17:51 +0000 (01:17 +0000)]
Remove incorrect comment.
Roland McGrath [Fri, 1 Dec 2000 23:50:36 +0000 (23:50 +0000)]
* hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
(_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
allow multiple instances using the same function name in one file.
Roland McGrath [Fri, 1 Dec 2000 23:50:27 +0000 (23:50 +0000)]
2000-11-30 Roland McGrath <roland@frob.com>
* hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
(_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
allow multiple instances using the same function name in one file.
Ulrich Drepper [Fri, 1 Dec 2000 23:15:18 +0000 (23:15 +0000)]
Regenerated: autoconf configure.in
Ulrich Drepper [Fri, 1 Dec 2000 20:14:07 +0000 (20:14 +0000)]
Update.
2000-12-01 Ulrich Drepper <drepper@redhat.com>
* configure.in: Correct test for pserver CVS access.
Ulrich Drepper [Fri, 1 Dec 2000 03:20:00 +0000 (03:20 +0000)]
Update.
2000-11-28 H.J. Lu <hjl@gnu.org>
* libio/libio.h: Remove extra "#if ... #endif".
Ulrich Drepper [Fri, 1 Dec 2000 00:43:32 +0000 (00:43 +0000)]
Update.
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.
Ulrich Drepper [Fri, 1 Dec 2000 00:15:38 +0000 (00:15 +0000)]
Test case for handling string passed to setlocale.
Roland McGrath [Thu, 30 Nov 2000 23:29:46 +0000 (23:29 +0000)]
* sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
rather than _hurd_fd_subinit, so it happens after it's safe to use
libc facilities like malloc.
Roland McGrath [Thu, 30 Nov 2000 23:29:35 +0000 (23:29 +0000)]
2000-11-30 Roland McGrath <roland@frob.com>
* sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
rather than _hurd_fd_subinit, so it happens after it's safe to use
libc facilities like malloc.
Andreas Jaeger [Thu, 30 Nov 2000 17:51:39 +0000 (17:51 +0000)]
Revert accidential checkin.
Andreas Jaeger [Thu, 30 Nov 2000 17:42:48 +0000 (17:42 +0000)]
Update.
2000-11-28 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
declaration, adjust declaration of __syscall_getdents to match
kernel.
Andreas Jaeger [Thu, 30 Nov 2000 07:31:10 +0000 (07:31 +0000)]
Update.
2000-11-29 H.J. Lu <hjl@gnu.org>
* sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
Andreas Jaeger [Wed, 29 Nov 2000 09:25:19 +0000 (09:25 +0000)]
Update.
2000-11-29 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused
variable.
Andreas Jaeger [Wed, 29 Nov 2000 09:24:50 +0000 (09:24 +0000)]
Remove unused variable.
Ulrich Drepper [Wed, 29 Nov 2000 00:04:54 +0000 (00:04 +0000)]
Update.
* dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
* dlfcn/defaultmod2.c: Likewise.
* dlfcn/dlopen.c: Likewise.
* dlfcn/dlopenold.c: Likewise.
* dlfcn/failtestmod.c: Likewise.
* dlfcn/glreflib1.c: Likewise.
* dlfcn/glreflib2.c: Likewise.
* dlfcn/eval.c: Likewise. Add attributes.
* ctype/ctype-extn.c: Define isblank and not __isblank.
Ulrich Drepper [Tue, 28 Nov 2000 22:13:22 +0000 (22:13 +0000)]
Update.
2000-11-28 Ulrich Drepper <drepper@redhat.com>
* time/strftime.c: Add const where necessary to avoid warnings.
* time/strptime.c (strptime_internal): Add casts to avoid warnings.
Ulrich Drepper [Tue, 28 Nov 2000 21:12:43 +0000 (21:12 +0000)]
Update.
2000-11-22 Paul Eggert <eggert@twinsun.com>
* time/strftime.c (my_strftime): Do not invoke mbrlen with a
size of (size_t) -1; it's not portable.
Ulrich Drepper [Tue, 28 Nov 2000 18:12:18 +0000 (18:12 +0000)]
Update.
2000-11-28 Ulrich Drepper <drepper@redhat.com>
* sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
crappy i486 FPU.
Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
Ulrich Drepper [Tue, 28 Nov 2000 17:48:02 +0000 (17:48 +0000)]
Update.
2000-11-14 Jes Sorensen <jes@linuxcare.com>
* sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
* sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
_mcount is required by profiled binaries.
* sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
* sysdeps/ia64/machine-gmon.h: ...here.
Ulrich Drepper [Tue, 28 Nov 2000 14:11:52 +0000 (14:11 +0000)]
Update.
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.
Ulrich Drepper [Tue, 28 Nov 2000 13:57:45 +0000 (13:57 +0000)]
Update.
2000-11-28 Ulrich Drepper <drepper@redhat.com>
* catgets/gencat.c (normalize_line): Take extra parameter with escape
character. Change callers.
(open_conversion): Determine mapping of 0x5c as wchar_t value.
* catgets/Makefile: Add rules to build and run test-gencat.
* catgets/sample.SJIS: New file.
* catgets/test-gencat.c: New file.
* catgets/test-gencat.sh: New file.
Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
Ulrich Drepper [Tue, 28 Nov 2000 13:54:25 +0000 (13:54 +0000)]
(normalize_line): Take extra parameter with escape character. Change callers. (open_conversion): Determine mapping of 0x5c as wchar_t value.
Andreas Jaeger [Tue, 28 Nov 2000 09:17:56 +0000 (09:17 +0000)]
Update.
2000-11-28 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
Linux version.
Andreas Jaeger [Tue, 28 Nov 2000 09:17:38 +0000 (09:17 +0000)]
Synch with generic Linux version.
Ulrich Drepper [Tue, 28 Nov 2000 09:01:39 +0000 (09:01 +0000)]
Update.
2000-11-28 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
Ulrich Drepper [Tue, 28 Nov 2000 09:00:59 +0000 (09:00 +0000)]
Fix last patch.
Andreas Jaeger [Tue, 28 Nov 2000 08:05:28 +0000 (08:05 +0000)]
Update.
2000-11-28 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
__flexarr.
* sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
Likewise.
Andreas Jaeger [Tue, 28 Nov 2000 08:05:11 +0000 (08:05 +0000)]
(struct cmsghdr): Use __flexarr.
Ulrich Drepper [Tue, 28 Nov 2000 07:40:13 +0000 (07:40 +0000)]
Update.
* misc/getusershell.c: Make strings in okshells array const.
* misc/regexp.c: Add const to cast to avoid warnings.
* sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
* sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
__setresuid.
* sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
setresgid.
* misc/error.c: Add prototypes for __error and __error_at_line.
* misc/mntent_r.c (__getmntent_r): Add break at end of switch
statement to avoid warning.
Ulrich Drepper [Tue, 28 Nov 2000 07:10:56 +0000 (07:10 +0000)]
Update.
* test-skeleton.c: Mark timeout_handler with noreturn.
* iconv/skeleton.c (get16u): Add const to cast.
(get32u): Likewise.
* iconvdata/gb18030.c: Likewise.
* iconvdata/iso-2022-cn-ext.c: Likewise.
* iconvdata/ansi_x3.110.c: Add cast to avoid warning.
* iconvdata/big5.c: Likewise.
* iconvdata/big5hkscs.c: Likewise.
* iconvdata/iso_6937.c: Likewise.
* iconvdata/iso_6937-2.c: Likewise.
* iconvdata/t.61.c: Likewise.
* iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
* iconvdata/unicode.c: Likewise.
* iconvdata/utf-16.c: Likewise.
* iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
* iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
with little code shuffling.
Ulrich Drepper [Mon, 27 Nov 2000 23:33:31 +0000 (23:33 +0000)]
Update.
* sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
the problems introduced when the user selects -O3.
Ulrich Drepper [Mon, 27 Nov 2000 17:54:38 +0000 (17:54 +0000)]
Update.
2000-11-27 Ulrich Drepper <drepper@redhat.com>
* iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
* misc/sys/cdefs.h: Define __flexarr.
Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
* iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
* iconv/skeleton.c: Likewise.
* iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
* iconv/loop.c (get16): Add const to cast.
(get32): Likewise.
Ulrich Drepper [Mon, 27 Nov 2000 17:46:49 +0000 (17:46 +0000)]
(get16): Add const to cast. (get32): Likewise.
Andreas Jaeger [Mon, 27 Nov 2000 16:46:26 +0000 (16:46 +0000)]
Update.
2000-11-27 Andreas Jaeger <aj@suse.de>
* login/programs/pt_chown.c (do_pt_chown): Mark function as static
to avoid warning.
* login/programs/utmpdump.c (print_entry): Likewise.
Andreas Jaeger [Mon, 27 Nov 2000 14:41:40 +0000 (14:41 +0000)]
Update.
2000-11-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
* sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
in a single asm as they may be used to access other stored
registers.
* sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
Andreas Jaeger [Mon, 27 Nov 2000 14:37:10 +0000 (14:37 +0000)]
Update.
2000-11-27 Andreas Jaeger <aj@suse.de>
* rt/tst-aio.c: Mark test functions as static to avoid warnings.
* rt/tst-aio64.c: Likewise.
Andreas Jaeger [Mon, 27 Nov 2000 14:36:57 +0000 (14:36 +0000)]
Mark test functions as static to avoid warnings.
Ulrich Drepper [Mon, 27 Nov 2000 08:58:12 +0000 (08:58 +0000)]
Update.
2000-11-27 Ulrich Drepper <drepper@redhat.com>
* catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
for gencat run.
(libc.cat): Likewise.
* catgets/gencat.c: Implement handling of message catalogs encoded
with stateful character sets.
Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
Ulrich Drepper [Sun, 26 Nov 2000 09:50:34 +0000 (09:50 +0000)]
Update.
* sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
Ulrich Drepper [Sun, 26 Nov 2000 09:44:30 +0000 (09:44 +0000)]
Update.
2000-11-26 Ulrich Drepper <drepper@redhat.com>
* inet/getnameinfo.c: Adjust casts to avoid warnings.
* inet/rcmd.c: Likewise.
* inet/ruserpass.c: Likewise.
* inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
* include/aliases.h: Add prototypes for internal __getalias* functions.
* include/netdb.h: Add prototypes for __old_gethostent_r,
__old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
__old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
__old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
__old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
* include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
__old_getrpcbynumber_r, __old_getrpcent_r.
* include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
__getrpcent_r prototypes.
Ulrich Drepper [Sun, 26 Nov 2000 07:10:00 +0000 (07:10 +0000)]
Update.
* string/strcoll.c: Add casts to avoid warnings.
* string/strnlen.c: Likewise.
* string/strxfrm.c: Likewise.
* sysdeps/generic/_strerror.c: Likewise.
* sysdeps/generic/memrchr.c: Likewise.
* sysdeps/generic/strcasestr.c: Likewise.
* sysdeps/generic/strstr.c: Likewise.
* locale/weight.h (findidx): Add const to cast to avoid warning.
Ulrich Drepper [Sun, 26 Nov 2000 06:18:02 +0000 (06:18 +0000)]
Update.
* elf/loadfail.c: Little cosmetic changes to avoid warnings.
* elf/loadtest.c: Likewise.
* elf/multiload.c: Likewise.
* elf/next.c: Likewise.
* elf/nodelete.c: Likewise.
* elf/noload.c: Likewise.
* elf/order.c: Likewise.
* elf/origtest.c: Likewise.
* elf/preloadtest.c: Likewise.
* elf/restest1.c: Likewise.
Ulrich Drepper [Sun, 26 Nov 2000 05:46:35 +0000 (05:46 +0000)]
Update.
* sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
parameter of asm must be in %ecx.
Ulrich Drepper [Sun, 26 Nov 2000 04:52:36 +0000 (04:52 +0000)]
Update.
* string/tester.c: Mark test functions as static to avoid warnings.
Ulrich Drepper [Sat, 25 Nov 2000 08:22:02 +0000 (08:22 +0000)]
Update.
2000-11-25 Ulrich Drepper <drepper@redhat.com>
* iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
preserve value over different gconv-modules files.
Ulrich Drepper [Sat, 25 Nov 2000 01:26:30 +0000 (01:26 +0000)]
Update.
* locale/findlocale.c: Add casts to avoid warnings.
* locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
* misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
to avoid warnings.
* misc/tsearch.c (const_node): New type.
(trecurse): Correct casts to avoid warnings.
(__twalk): Likewise.
* stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
LONG_BIT.
* debug/backtrace-tst.c (compare): Add casts to avoid warnings.
Ulrich Drepper [Fri, 24 Nov 2000 23:39:37 +0000 (23:39 +0000)]
Update.
* test-skeleton.c: Mark local functions as static to avoid warnings.
2000-11-23 H.J. Lu <hjl@gnu.org>
* rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
support the background job.
Fix a typo.
2000-11-24 Ulrich Drepper <drepper@redhat.com>
has same names but lower cost.
Ulrich Drepper [Fri, 24 Nov 2000 21:13:13 +0000 (21:13 +0000)]
Update.
2000-11-24 Ulrich Drepper <drepper@redhat.com>
* iconv/gconv_conf.c (insert_module): Replace old entry if new one
hsa same names but lower cost.
2000-11-23 Jakub Jelinek <jakub@redhat.com>
* sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
which never occur during bootstrap.
* sysdeps/sparc/sparc64/dl-machine.h: Likewise.
Ulrich Drepper [Thu, 23 Nov 2000 19:41:48 +0000 (19:41 +0000)]
Update.
2000-11-23 Ulrich Drepper <drepper@redhat.com>
* tst-digits.c (main): Add casts to avoid warnings.
* collate-test.c (xstrcoll): Make l1 and l2 const.
* xfrm-test.c (xstrcmp): Make l1 and l2 const.
Ulrich Drepper [Thu, 23 Nov 2000 17:26:27 +0000 (17:26 +0000)]
Ifdef out handling for relocs which never occur during bootstrap.
Andreas Jaeger [Thu, 23 Nov 2000 16:15:47 +0000 (16:15 +0000)]
Update.
* nss/nss_files/files-hosts.c: Remove getipnodebyname.
* nss/Versions: Remove _nss_files_getipnodebyname_r.
Andreas Jaeger [Thu, 23 Nov 2000 09:05:01 +0000 (09:05 +0000)]
Update.
2000-11-23 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.