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.
Andreas Jaeger [Thu, 23 Nov 2000 09:04:30 +0000 (09:04 +0000)]
Fix typo in last patch.
Ulrich Drepper [Thu, 23 Nov 2000 08:04:16 +0000 (08:04 +0000)]
Update.
2000-11-18 Martin Buchholz <martin@xemacs.org>
* csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
(called++) return;'
2000-11-21 Alan Modra <alan@linuxcare.com.au>
* sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
* csu/abi-note.S: Correct comment for operating system number.
* sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
Ulrich Drepper [Thu, 23 Nov 2000 07:53:16 +0000 (07:53 +0000)]
Update.
* Versions.def: Add GLIBC_2.2.1 for glibc.
2000-11-22 Andreas Schwab <schwab@suse.de>
* sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
* sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
2000-11-22 Ulrich Drepper <drepper@redhat.com>
Ulrich Drepper [Thu, 23 Nov 2000 07:07:29 +0000 (07:07 +0000)]
Update.
2000-11-22 Ulrich Drepper <drepper@redhat.com>
* rt/aio_suspend.c (aio_suspend): Convert timeout value to
absolute time for pthread_cond_timedwait call.
Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
* rt/Makefile (tests): Add tst-aio6.
* rt/tst-aio6.c: New file.
Ulrich Drepper [Thu, 23 Nov 2000 07:06:58 +0000 (07:06 +0000)]
Test for timeout with aio_suspend.
Andreas Jaeger [Thu, 23 Nov 2000 06:30:49 +0000 (06:30 +0000)]
Update.
2000-11-23 Andreas Jaeger <aj@suse.de>
* sysdeps/s390/bits/string.h (strncat): Fix one more typo.
Andreas Jaeger [Wed, 22 Nov 2000 14:05:17 +0000 (14:05 +0000)]
Update.
2000-11-22 Andreas Jaeger <aj@suse.de>
* sysdeps/s390/bits/string.h (strncat): Add missing quotation
marks.
Andreas Jaeger [Wed, 22 Nov 2000 06:41:53 +0000 (06:41 +0000)]
Update.
2000-11-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
* sysdeps/s390/bits/string.h: Make strncat always add a \0.
Andreas Schwab [Tue, 21 Nov 2000 20:56:31 +0000 (20:56 +0000)]
* sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
* sysdeps/arm/setjmp.S: Likewise.
* sysdeps/arm/fpu/setjmp.S: Likewise.
* sysdeps/i386/setjmp.S: Likewise.
* sysdeps/i386/elf/setjmp.S: Likewise.
* sysdeps/s390/setjmp.S: Likewise.
* sysdeps/s390/elf/setjmp.S: Likewise.
* sysdeps/sh/sh3/setjmp.S: Likewise.
* sysdeps/sh/sh4/setjmp.S: Likewise.
* sysdeps/sparc/sparc32/setjmp.S: Likewise.
* sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
* sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
Andreas Schwab [Tue, 21 Nov 2000 20:55:38 +0000 (20:55 +0000)]
* sysdeps/alpha/setjmp.S: Remove __setjmp entry point. * sysdeps/arm/setjmp.S: Likewise. * sysdeps/arm/fpu/setjmp.S: Likewise. * sysdeps/i386/setjmp.S: Likewise. * sysdeps/i386/elf/setjmp.S: Likewise. * sysdeps/s390/setjmp.S: Likewise. * sysdeps/s390/elf/setjmp.S: Likewise. * sysdeps/sh/sh3/setjmp.S: Likewise. * sysdeps/sh/sh4/setjmp.S: Likewise. * sysdeps/sparc/sparc32/setjmp.S: Likewise. * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise. * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
Andreas Jaeger [Tue, 21 Nov 2000 13:27:53 +0000 (13:27 +0000)]
Update.
NORETURN, fix parameter list.
Andreas Jaeger [Tue, 21 Nov 2000 13:21:01 +0000 (13:21 +0000)]
Update.
* sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
NORETURN.
Andreas Jaeger [Tue, 21 Nov 2000 07:32:48 +0000 (07:32 +0000)]
Update.
2000-11-21 Andreas Jaeger <aj@suse.de>
* string/bug-strncat1.c (main): Fix typo.
Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
Andreas Jaeger [Tue, 21 Nov 2000 07:32:34 +0000 (07:32 +0000)]
(main): Fix typo.
Ulrich Drepper [Mon, 20 Nov 2000 22:13:20 +0000 (22:13 +0000)]
Update.
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.
Ulrich Drepper [Mon, 20 Nov 2000 17:40:29 +0000 (17:40 +0000)]
Update.
2000-11-20 Jakub Jelinek <jakub@redhat.com>
* iconvdata/bug-iconv2.c (main): Use %zd in format string.
* io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
* malloc/tst-valloc.c (main): Cast valloc return value to long.
* malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
* math/test-fpucw.c (main): Use %lx in format string, cast
control words to long.
* stdio-common/tst-fmemopen.c (main): Use %td in format strings.
* stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
large that it is unsigned warning.
* sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
it to long on sparc64.
2000-11-20 Andreas Jaeger <aj@suse.de>
* nscd/nscd.h (termination_handler): Add noreturn attribute.
(receiv_print_stats): Likewise.
* elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
Ulrich Drepper [Mon, 20 Nov 2000 10:18:11 +0000 (10:18 +0000)]
Update.
* malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
Ulrich Drepper [Mon, 20 Nov 2000 10:08:52 +0000 (10:08 +0000)]
Update.
* intl/dcigettext.c (transcmp): Make s1 and s2 const.
(DCIGETTEXT): Make domaindata variable const.
* intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
to avoid warning.
Ulrich Drepper [Mon, 20 Nov 2000 09:16:41 +0000 (09:16 +0000)]
Update.
2000-11-20 Ulrich Drepper <drepper@redhat.com>
* csu/gmon-start.c: Always have prototype for __gmon_start.
* csu/version.c: Add prototypes for __libc_print_version and
__libc_main.
* iconv/gconv.c: Include gconv_int.h and gconv.h.
* iconv/gconv.h (struct __gconv_step): Remove const from __from_name
and __to_name.
* iconv/gconv_builtin.h: Add ASCII module definitions.
* iconv/gconv_conf.c (__gconv_path_elem): Remove const.
(add_module): Add cast to avoid warning. Rework construction of
strings for new module.
* iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
(derivation_compare): Likewise.
* iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
(__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
* iconv/gconv_int.h (__gconv_path_elem): Remove const.
(struct gconv_alias): Remove const from fromname and toname.
* iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
for loop functions.
(internal_ucs4_loop): Use correct const-ness.
(ucs4_internal_loop): Likewise.
(internal_ucs4le_loop): Likewise.
(ucs4le_internal_loop_single): Likewise.
* iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
to_idx, to_tbl, winbuf, winbufend const. Change casts in
assignments appropriately.
(struct known_trans): Remove const from fname.
(trans_compare): Make s1 and s2 const.
* iconv/loop.c (LOOPFC): Make outend parameter const. Add cast to
avoid warning.
* iconv/skeleton.c: Remove cast in calls of loop functions.
* iconvdata/gconv-modules: Remove US-ASCII definitions.
* iconvdata/iso646.c: Remove US_ASCII support.
* include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
* include/unistd.h: Add __libc_check_standard_fds prototype.
* string/bits/string2.h (__mempcpy_args): Add const to casts.
* sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
_fini.
* sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
* sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
* sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
warning.
* sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
__libc_init_first and _dl_start.
* sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
Ulrich Drepper [Mon, 20 Nov 2000 08:47:01 +0000 (08:47 +0000)]
Always have prototype for __gmon_start.
Andreas Jaeger [Mon, 20 Nov 2000 07:55:44 +0000 (07:55 +0000)]
Update.
2000-11-20 Hiroyuki Machida <machida@sm.sony.co.jp>
* sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
* sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
time_t to 'long int' not, 'unsigned int'. Use 'long int' for
__unused? members.
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
value defined in /usr/include/asm-mips/fcntl.h.
Andreas Jaeger [Mon, 20 Nov 2000 07:54:19 +0000 (07:54 +0000)]
Fix comments
Ulrich Drepper [Sat, 18 Nov 2000 23:34:30 +0000 (23:34 +0000)]
Update.
* stdio-common/Makefile (tests): Add test-vfprintf.
(test-vfprintf-ENV): New variable.
* stdio-common/test-vfprintf.c: New file.
Ulrich Drepper [Sat, 18 Nov 2000 21:08:05 +0000 (21:08 +0000)]
Update.
2000-11-18 Ulrich Drepper <drepper@redhat.com>
* wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
* wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
(tst-mbrtowc-ENV): New variable.
(tst-wcrtomb-ENV): New variable.
* wcsmbs/tst-mbrtowc.c: New file.
* wcsmbs/tst-wcrtomb.c: New file.
Ulrich Drepper [Sat, 18 Nov 2000 17:47:35 +0000 (17:47 +0000)]
Update.
2000-11-16 Andreas Jaeger <aj@suse.de>
* manual/install.texi (Tools for Compilation): Update
documentation for GCC 2.95.2.
* libio/freopen.c (freopen): Reset _mode after succesful reopening.
Ulrich Drepper [Sat, 18 Nov 2000 08:30:20 +0000 (08:30 +0000)]
Update.
2000-11-18 Ulrich Drepper <drepper@redhat.com>
* sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
if IPv4 and IPv6 requests timed out.
Ulrich Drepper [Sat, 18 Nov 2000 08:11:59 +0000 (08:11 +0000)]
Update.
2000-11-18 Akim Demaille <akim@epita.fr>
* malloc/obstack.h: Formatting changes.
(obstack_grow, obstack_grow0): Don't cast WHERE at all: it
prevents type checking.
(obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
cast the value to (void *): assigning a `foo *' to a `void *'
variable is valid.
(obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
Ulrich Drepper [Sat, 18 Nov 2000 07:48:29 +0000 (07:48 +0000)]
Update.
2000-11-17 Ulrich Drepper <drepper@redhat.com>
* scripts/config.guess: Update from upstream maintainer.
* scripts/config.sub: Likewise.
Ulrich Drepper [Fri, 17 Nov 2000 00:27:46 +0000 (00:27 +0000)]
Update.
* libio/Makefile: Add rules to build and run test-freopen.
* libio/test-freopen.c: New file.
* libio/test-freopen.sh: New file.
Ulrich Drepper [Thu, 16 Nov 2000 18:21:04 +0000 (18:21 +0000)]
Update.
Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
Ulrich Drepper [Thu, 16 Nov 2000 18:20:27 +0000 (18:20 +0000)]
Update.
2000-11-16 Ulrich Drepper <drepper@redhat.com>
* libio/freopen.c (freopen): Reset _mode after succesful
reopening.
* libio/freopen64.c (freopen64): Likewise.
Patch by Yoshito Kawada <KAWADA@jp.ibm.com>.
Ulrich Drepper [Thu, 16 Nov 2000 18:15:26 +0000 (18:15 +0000)]
Update.
2000-11-15 H.J. Lu <hjl@gnu.org>
* sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
(DL_DT_FINI_ADDRESS): Likewise.
* sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
return type to ElfW(Addr).
(_dl_function_address): New prototype.
(DL_FUNCTION_ADDRESS): Defined.
(DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
(DL_DT_FINI_ADDRESS): Likewise.
* sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
* sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
(ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
* sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
(_dl_function_address): This.
* elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
function pointer for DT_FINI.
* elf/dl-close.c (_dl_close): Likewise.
* elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
function pointer for DT_INIT.
2000-11-16 Jakub Jelinek <jakub@redhat.com>
* sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
end of wexpbuf buffer.