Commit Graph

7806 Commits

Author SHA1 Message Date
Ulrich Drepper 689849878d Update.
* time/time.h (struct timespec): Use __time_t for tv_sec element.

	* sysdeps/generic/inttypes.h: Define __wchar_t.  Use it instead of
	wchar_t for function declarations and defintions.

	* misc/sys/select.h: Define __need_time_t before including <time.h>.
	Define suseconds_t if it hasn't happened yet.

	* iconv/gconv.h: Define __need_wchar_t before including <stddef.h>.

	* conform/data/sys/uio.h-data: Allow UIO_MAXIOV to be defined.

	* sysdeps/generic/stdint.h: Don't get definition of wchar_t from
	<stddef.h>.

	* conform/data/stddef.h-data: Remove wint_t.
2001-08-18 23:36:58 +00:00
Ulrich Drepper 9c777dfe83 Update.
2001-08-18  Ulrich Drepper  <drepper@redhat.com>

	* conform/conformtest.pl: Change namespace test to take #undef
	lines into account.

	* conform/data/netinet/in.h-data: Fix typo in allow-header line.

	* conform/data/sys/socket.h-data: Add sockatmark.
2001-08-18 11:55:52 +00:00
Ulrich Drepper 4c3902f988 Update.
2001-08-17  Ulrich Drepper  <drepper@redhat.com>

	* io/fts.c: Update from recent BSD source.
2001-08-18 06:22:52 +00:00
Ulrich Drepper f8efc16a02 Update from recent BSD source. 2001-08-18 06:22:09 +00:00
Roland McGrath c3151cca37 * stdio-common/perror.c (perror) [! USE_IN_LIBIO]: Don't use _IO_fwide.
* misc/error.c (error_tail, error, error_at_line) [! USE_IN_LIBIO]:
	Likewise.
2001-08-18 02:49:46 +00:00
Roland McGrath 55183f249f 2001-08-17 Roland McGrath <roland@frob.com>
* stdio-common/perror.c (perror) [! USE_IN_LIBIO]: Don't use _IO_fwide.
	* misc/error.c (error_tail, error, error_at_line) [! USE_IN_LIBIO]:
	Likewise.
2001-08-18 02:49:41 +00:00
Ulrich Drepper 89f29a0742 Update.
* locale/duplocale.c (__duplocale): Also initialize the special
	__ctype_* elements.
2001-08-18 02:46:36 +00:00
Ulrich Drepper 0f4b99a643 Update.
2001-08-17  Ulrich Drepper  <drepper@redhat.com>

	* conform/data/netdb.h-data: Adjust gai_strerror return type.

	* misc/getpass.c: Include wchar.h for prototypes.
	* malloc/obstack.c: Likewise.
2001-08-18 00:46:40 +00:00
Ulrich Drepper 9d051d6423 Use __wcsoll only if _LIBC. 2001-08-17 18:15:15 +00:00
Andreas Jaeger 1d3884574e Update.
2001-08-17  Andreas Jaeger  <aj@suse.de>

        * misc/getpass.c: Include wchar.h for prototypes.
        * malloc/obstack.c: Likewise.
2001-08-17 14:14:31 +00:00
Andreas Jaeger 9605a4f1b8 Include wchar.h for prototypes. 2001-08-17 14:14:10 +00:00
Ulrich Drepper 8dcc6a3f1b Include <wchar.h>. 2001-08-17 07:57:23 +00:00
Ulrich Drepper 6293b80374 Update.
2001-08-17  Ulrich Drepper  <drepper@redhat.com>

	* sunrpc/svc_simple.c (universal): Use __write instead of write.

	* wcsmbs/wcscoll.c: Also define __wcscoll.
	* include/wchar.h: Declare __wcscoll.

	* libio/fwprintf.c: Use __vfwprintf instead of vfwprintf.
	* libio/vwprintf.c: Likewise.
	* libio/wprintf.c: Likewise.

	* iconv/gconv_cache.c: Use __munmap instead of munmap.

	* posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc
	instead of mbrtowc.
	[_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of
	wcslen, and __wcscoll instead of wcscoll.

	* sysdeps/unix/sockatmark.c (sockatmark): Use __ioctl instead of ioctl.

	* sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue): Use
	__getuid instead of getuid.

	* stdio-common/perror.c (perror): Use __close instead of close.
	* iconv/gconv_cache.c (__gconv_load_cache): Likewise.
	* libio/freopen.c (freopen): Likewise.
	* libio/freopen64.c (freopen64): Likewise.
2001-08-17 07:51:36 +00:00
Ulrich Drepper 51028f34ce Update.
* libio/tst-ungetwc2.c (main): Define str const.

	* include/wchar.h: Add prototypes for __fwprintf and __vfwprintf.
	* libio/fwprintf.c: Also define __fwprintf.
	* stdio-common/vfprintf.c [COMPILE_WPRINTF]: Also define __vfwprintf.
	* argp/argp-fmtstream.c: Handle wide oriented stderr stream.
	* assert/assert-perr.c: Likewise.
	* assert/assert.c: Likewise.
	* gmon/gmon.c: Likewise.
	* inet/rcmd.c: Likewise.
	* malloc/obstack.c: Likewise.
	* misc/err.c: Likewise.
	* misc/error.c: Likewise.
	* misc/getpass.c: Likewise.
	* posix/getopt.c: Likewise.
	* resolv/res_hconf.c: Likewise.
	* stdio-common/perror.c: Likewise.
	* stdio-common/psignal.c: Likewise.
	* stdlib/fmtmsg.c: Likewise.
	* sunrpc/auth_unix.c: Likewise.
	* sunrpc/clnt_perr.c: Likewise.
	* sunrpc/clnt_tcp.c: Likewise.
	* sunrpc/clnt_udp.c: Likewise.
	* sunrpc/clnt_unix.c: Likewise.
	* sunrpc/svc_simple.c: Likewise.
	* sunrpc/svc_tcp.c: Likewise.
	* sunrpc/svc_udp.c: Likewise.
	* sunrpc/svc_unix.c: Likewise.
	* sunrpc/xdr.c: Likewise.
	* sunrpc/xdr_array.c: Likewise.
	* sunrpc/xdr_rec.c: Likewise.
	* sunrpc/xdr_ref.c: Likewise.
	* sysdeps/generic/wordexp.c: Likewise.

	* misc/err.c: Handle wide oriented stderr stream.
2001-08-17 04:49:12 +00:00
Ulrich Drepper d79e555309 Update.
* po/it.po: Update from translation team.
2001-08-16 23:31:06 +00:00
Ulrich Drepper a26353616e Update.
2001-08-16  Ulrich Drepper  <drepper@redhat.com>

	* misc/err.c: Handle wide oriented stderr.
2001-08-16 17:51:43 +00:00
Ulrich Drepper 8e2949409c Update.
2001-08-14  Tom Rix  <trix@redhat.com>

	* iconv/gconv_cache.c (find_module): Add #ifndef STATIC_GCONV.
	* iconv/Makefile: Fix gconv_cache.c CFLAGS.

2001-08-13  Tom Rix  <trix@redhat.com>

	* sysdeps/unix/sysv/aix/Makefile: Add rule to import kernel symbols.
	* sysdeps/unix/sysv/aix/bits/types.h: Fix type of __id_t, __useconds_t
	and __intptr_t.

2001-08-15  Martin Schwidefsky  <schwidefsky@de.ibm.com>

	* sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S (__getcontext):
	Store the access registers to the ucontext structure.
	* sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S (__getcontext):
	Likewise.

	* sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S (__setcontext):
	Load the access registers from the ucontext structure.
	* sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S (__setcontext):
	Likewise.

	* sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: Adjust the SC_xxx
	offsets to the new ucontext layout.
	* sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: Likewise.

	* sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix the layout
	of the ucontext structure.
	* sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
2001-08-16 05:39:18 +00:00
Ulrich Drepper 1fc0e33153 Update.
* misc/error.c (error): Handle wide oriented stderr stream correctly.
	* stdio-common/perror.c (perror): Implement according to standard.
	The stream orientation must not be changed if the stream was not
	oriented before the call.
	* stdio-common/Makefile (tests): Add tst-perror.
	* stdio-common/tst-perror.c: New file.
See ChangeLog.12 for earlier changes.
2001-08-16 05:23:52 +00:00
Ulrich Drepper c0fd6e1d64 Update.
2001-08-15  Ulrich Drepper  <drepper@redhat.com>

	* libio/iofwide.c (_IO_fwide): Don't reset file position to
	beginning of file, really get current position.
2001-08-15 18:41:44 +00:00
Ulrich Drepper f2cba24fc8 (_IO_fwide): Don't reset file position to beginning of file, really get current position. 2001-08-15 18:40:16 +00:00
Andreas Schwab 86fe4412a1 * sysdeps/m68k/m68020/atomicity.h (atomic_add): Don't allow
address register for operand 0.
2001-08-15 13:09:32 +00:00
Andreas Schwab ee30b66dd6 (atomic_add): Don't allow address register for operand 0. 2001-08-15 13:09:16 +00:00
Ulrich Drepper 8444680170 Update.
2001-08-14  Ulrich Drepper  <drepper@redhat.com>

	* stdio-common/perror.c (perror): Use _IO_fwide instead of fwide.

	* libio/libio.h (_IO_fwide): Handle zero as second parameter more
	efficiently in macro.
2001-08-15 06:23:11 +00:00
Ulrich Drepper 5db915715f Update.
2001-08-14  Jakub Jelinek  <jakub@redhat.com>

	* resolv/nss_dns/dns-host.c (RESOLVSORT): Define.
	(addrsort): New function.
	* resolv/gethnamaddr.c (RESOLVSORT): Define.

2001-08-14  Jakub Jelinek  <jakub@redhat.com>

	* string/strsignal.c (free_mem): Remove.

2001-08-14  Andreas Jaeger  <aj@suse.de>

	* inet/inet_ntoa.c (free_mem): Remove, it's not used anymore.
	Closes PR libc/2477, reported by Dylan Alex Simon
	<dylan@dylex.caltech.edu>.

2001-08-14  Ulrich Drepper  <drepper@redhat.com>

	* locale/Makefile (aux): Add xlocale.
	* locale/xlocale.c: New file.
	* include/locale.c (_nl_C_locobj): Declare.
	* iconv/gconv_charset.h: Use __tolower_l, __isdigit_l, __isspace_l
	with _nl_C_locobj instead of tolower, isdigit, isspace.
	* iconv/gconv_conf.c: Likewise.
	* iconv/gconv_int.h: Likewise.
	* iconv/gconv_open.c: Likewise.

	* locale/newlocale.c: Minor cleanups.
2001-08-14 23:29:55 +00:00
Ulrich Drepper ecad39f050 Update.
2001-08-14  Ulrich Drepper  <drepper@redhat.com>

	* Makefile: Add rules to build and run tst-xlocale1.
	* tst-xlocale1.c: New file.

	* bug-iconv-trans.c: Improve error messages.
2001-08-14 22:29:43 +00:00
Ulrich Drepper 1b46e4a5a2 Test of __strcasecmp_l. 2001-08-14 22:25:47 +00:00
Andreas Jaeger 908b8bbc06 Update.
2001-08-14  Andreas Jaeger  <aj@suse.de>

	* sysdeps/ieee754/ldbl-128/w_expl.c: New file, copy from
	ldbl-96/w_expl.c with tweaked constants.  Patch by Stephen L
	Moshier.
2001-08-14 07:06:51 +00:00
Andreas Jaeger 9832c1bd94 Copy from ldbl-96/w_expl.c with tweaked constants 2001-08-14 07:06:41 +00:00
Ulrich Drepper 1054384a8b Regenerated from source files 2001-08-13 22:08:56 +00:00
Ulrich Drepper 6f47f6457b Update.
* malloc/memusage.c (me): Allow creating the output file.
2001-08-13 21:54:43 +00:00
Ulrich Drepper e6df2698a7 Update.
* sysdeps/unix/sysv/linux/Makefile: Remove -fkeep-inline-functions
	flag for init-first.
2001-08-13 17:45:00 +00:00
Ulrich Drepper 6dfa9125a3 Update.
2001-08-13  Ulrich Drepper  <drepper@redhat.com>

	* po/fr.po: Update from translation team.
2001-08-13 16:36:10 +00:00
Ulrich Drepper b43244d89c Update from translation team. 2001-08-13 16:34:06 +00:00
Andreas Jaeger 6c96b7a060 Update.
2001-08-13  Andreas Jaeger  <aj@suse.de>

	* sysdeps/mips/machine-gmon.h (MCOUNT): Don't use delay slot for
	jal since it's a macro.
	Patch by Simon Gee <simong@oz.agile.tv>.
2001-08-13 08:43:34 +00:00
Andreas Jaeger fccd63a20a (MCOUNT): Don't use delay slot for jal since jal is a macro. 2001-08-13 08:42:44 +00:00
Ulrich Drepper 74a50d9c46 Update.
2001-08-12  Ulrich Drepper  <drepper@redhat.com>

	* iconvdata/Makefile: Add rules to build ISO-IR-209 and MAC-SAMI.
	* iconvdata/iso-ir-209.c: New file.
	* iconvdata/mac-sami.c: New file.
	* iconvdata/gconv-modules: Add entries for ISO-IR-209 and MAC-SAMI.
	* iconvdata/tst-tables.sh: Likewise.

	* posix/getopt.c: Remove store_args_and_env which is not needed since
	USE_NONOPTION_FLAGS is undefined anyhow.  Use __libc_argc and
	__libc_argv variables.

	Now returns pointer to first character after "LD_".
2001-08-13 06:27:35 +00:00
Ulrich Drepper e5bc0761fc Remove store_args_and_env which is not needed is USE_NONOPTION_FLAGS is undefined anyhow. Use __libc_argc and __libc_argv variables. 2001-08-13 05:22:43 +00:00
Roland McGrath 4147632703 * sysdeps/mach/hurd/clock.c: New file.
* sysdeps/mach/hurd/times.c: New file.
	* sysdeps/mach/hurd/getclktck.c (__getclktck): Always return 1000000.
	* sysdeps/mach/hurd/init-posix.c: New file.
2001-08-13 02:05:11 +00:00
Roland McGrath 2c64972006 * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
* sysdeps/mach/hurd/bits/time.h
	(CLOCK_PROCESS_CPUTIME_ID, CLOCK_THREAD_CPUTIME_ID): New macros.
	* sysdeps/mach/hurd/i386/bits/time.h: File removed.
2001-08-12 22:02:53 +00:00
Roland McGrath 5c7665dc18 2001-08-12 Roland McGrath <roland@frob.com>
* hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
2001-08-12 22:02:11 +00:00
Ulrich Drepper 60ab36c144 (Working Directory): Don't use TAB in example. 2001-08-12 19:15:49 +00:00
Ulrich Drepper 3ca9e670b3 Fix typos and wording. 2001-08-12 16:44:22 +00:00
Roland McGrath 5a5560f0f9 * posix/getopt.c (nonoption_flags_max_len, nonoption_flags_len):
Make these defns conditional on [USE_NONOPTION_FLAGS].
2001-08-11 21:18:42 +00:00
Ulrich Drepper 0ed24bc67f Update.
* sysdeps/arm/init-first.c: Likewise.
	* sysdeps/generic/init-first.c: Likewise.
	* sysdeps/i386/init-first.c: Likewise.
	* sysdeps/sh/init-first.c: Likewise.
2001-08-11 20:40:40 +00:00
Ulrich Drepper 44ad8377fb (_dl_map_object_from_fd): Use correct symbolic constant in mprotect call. 2001-08-11 20:27:50 +00:00
Roland McGrath 2a656c95d6 2001-08-11 Roland McGrath <roland@frob.com>
* posix/getopt.c (nonoption_flags_max_len, nonoption_flags_len):
	Make these defns conditional on [USE_NONOPTION_FLAGS].
2001-08-11 20:18:41 +00:00
Ulrich Drepper 518a0dd201 Update.
2001-08-11  Ulrich Drepper  <drepper@redhat.com>

	* config.h.in: Add #undef line for USE_NONOPTION_FLAGS.
	* posix/getopt_init.c: Produce code only if USE_NONOPTION_FLAGS is
	defined.
	* posix/getopt.c: Use __getopt_nonoption_flags only if
	USE_NONOPTION_FLAGS is defined.
	* sysdeps/mach/hurd/i386/init-first.c: Use __getopt_clean_environment
	only if USE_NONOPTION_FLAGS is defined.
	* sysdeps/mach/hurd/mips/init-first.c: Likewise.
	* sysdeps/unix/sysv/linux/init-first.c: Likewise.
2001-08-11 19:43:52 +00:00
Ulrich Drepper a3151b0240 Add #undef line for USE_NONOPTION_FLAGS. 2001-08-11 19:41:01 +00:00
Andreas Jaeger f524e4a22f j0 implementation for 128-bit long doubles. 2001-08-11 16:57:23 +00:00
Andreas Jaeger aff17a5081 Update.
2001-08-11  Andreas Jaeger  <aj@suse.de>

	* sysdeps/ieee754/ldbl-128/e_j0l.c: New file.
	Contributed by Stephen L Moshier <moshier@mediaone.net>.
2001-08-11 16:57:22 +00:00