Commit Graph

6326 Commits

Author SHA1 Message Date
Ulrich Drepper 76aecea11d 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>.
2000-12-04 00:11:40 +00:00
Ulrich Drepper 0df757b10a Update.
* math/test-misc.c (main): More tests for frexp and some for
	fpclassify and isnormal.
2000-12-03 23:38:18 +00:00
Ulrich Drepper be2925fc8a Update.
* sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
	test for subnormal.
	Reported by Fred J. Tydeman <tydeman@tybor.com>.
2000-12-03 23:35:00 +00:00
Ulrich Drepper 79569444ef 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.
2000-12-03 10:00:46 +00:00
Ulrich Drepper 06f55c0c1d 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.
2000-12-02 23:09:01 +00:00
Ulrich Drepper 00f5fcbb6c Update.
* sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
	* sysdeps/i386/fpu/s_frexpf.S: Likewise.
	* sysdeps/i386/fpu/s_frexpl.S: Likewise.
2000-12-02 18:22:43 +00:00
Ulrich Drepper ec6f84770e Update.
2000-12-02  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/generic/glob.c: Adjust types of several variables to
	avoid warnings.
2000-12-02 08:18:55 +00:00
Ulrich Drepper 68f672c9f8 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
2000-12-02 01:18:11 +00:00
Ulrich Drepper ba33498872 Remove incorrect comment. 2000-12-02 01:17:51 +00:00
Roland McGrath 2082d3c68a * 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.
2000-12-01 23:50:36 +00:00
Roland McGrath 72f841d535 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.
2000-12-01 23:50:27 +00:00
Ulrich Drepper deb7f0b41f Regenerated: autoconf configure.in 2000-12-01 23:15:18 +00:00
Ulrich Drepper 6b3f2b3d3a Update.
2000-12-01  Ulrich Drepper  <drepper@redhat.com>

	* configure.in: Correct test for pserver CVS access.
2000-12-01 20:14:07 +00:00
Ulrich Drepper 38d7adc4e9 Update.
2000-11-28  H.J. Lu  <hjl@gnu.org>

	* libio/libio.h: Remove extra "#if ... #endif".
2000-12-01 03:20:00 +00:00
Ulrich Drepper 411adb1068 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.
2000-12-01 00:43:32 +00:00
Ulrich Drepper 9a0fe6a812 Test case for handling string passed to setlocale. 2000-12-01 00:15:38 +00:00
Roland McGrath 62e82a340f * 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.
2000-11-30 23:29:46 +00:00
Roland McGrath 7b945eaeae 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.
2000-11-30 23:29:35 +00:00
Andreas Jaeger af327a9062 Revert accidential checkin. 2000-11-30 17:51:39 +00:00
Andreas Jaeger 559dce193e 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.
2000-11-30 17:42:48 +00:00
Andreas Jaeger a0f5c800f3 Update.
2000-11-29  H.J. Lu  <hjl@gnu.org>

	* sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
2000-11-30 07:31:10 +00:00
Andreas Jaeger ecefc9b582 Update.
2000-11-29  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused
	variable.
2000-11-29 09:25:19 +00:00
Andreas Jaeger f402766203 Remove unused variable. 2000-11-29 09:24:50 +00:00
Ulrich Drepper 20bb288327 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.
2000-11-29 00:04:54 +00:00
Ulrich Drepper 5eefad82e9 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.
2000-11-28 22:13:22 +00:00
Ulrich Drepper bffef76ec2 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.
2000-11-28 21:12:43 +00:00
Ulrich Drepper aea6353acf 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>.
2000-11-28 18:12:18 +00:00
Ulrich Drepper 6f9ebf8af2 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.
2000-11-28 17:48:02 +00:00
Ulrich Drepper 271469ae6c 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.
2000-11-28 14:11:52 +00:00
Ulrich Drepper 14d5391f9b 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>.
2000-11-28 13:57:45 +00:00
Ulrich Drepper ee25ee65c5 (normalize_line): Take extra parameter with escape character. Change callers. (open_conversion): Determine mapping of 0x5c as wchar_t value. 2000-11-28 13:54:25 +00:00
Andreas Jaeger d83c8d14b1 Update.
2000-11-28  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
	Linux version.
2000-11-28 09:17:56 +00:00
Andreas Jaeger 236eca388e Synch with generic Linux version. 2000-11-28 09:17:38 +00:00
Ulrich Drepper 69f2f47737 Update.
2000-11-28  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
2000-11-28 09:01:39 +00:00
Ulrich Drepper cdb914c027 Fix last patch. 2000-11-28 09:00:59 +00:00
Andreas Jaeger 2f0c68f5f9 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.
2000-11-28 08:05:28 +00:00
Andreas Jaeger 6f6fc9d7e1 (struct cmsghdr): Use __flexarr. 2000-11-28 08:05:11 +00:00
Ulrich Drepper 49f3a75859 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.
2000-11-28 07:40:13 +00:00
Ulrich Drepper 8c0b717095 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.
2000-11-28 07:10:56 +00:00
Ulrich Drepper d6b544fe23 Update.
* sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
	the problems introduced when the user selects -O3.
2000-11-27 23:33:31 +00:00
Ulrich Drepper a1620a4c55 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.
2000-11-27 17:54:38 +00:00
Ulrich Drepper b91d5eda6e (get16): Add const to cast. (get32): Likewise. 2000-11-27 17:46:49 +00:00
Andreas Jaeger d54fb3b68c 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.
2000-11-27 16:46:26 +00:00
Andreas Jaeger f8028a9708 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.
2000-11-27 14:41:40 +00:00
Andreas Jaeger 1435536e90 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.
2000-11-27 14:37:10 +00:00
Andreas Jaeger f71bc3ba28 Mark test functions as static to avoid warnings. 2000-11-27 14:36:57 +00:00
Ulrich Drepper d2defdc4a2 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>.
2000-11-27 08:58:12 +00:00
Ulrich Drepper ff8beceed1 Update.
* sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
2000-11-26 09:50:34 +00:00
Ulrich Drepper c3301189bd 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.
2000-11-26 09:44:30 +00:00
Ulrich Drepper 8b6e67674d 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.
2000-11-26 07:10:00 +00:00