Commit Graph

4893 Commits

Author SHA1 Message Date
Ulrich Drepper 45ef592db2 Update.
* configure.in: Comment out binutils version test.
2001-01-24 22:56:53 +00:00
Ulrich Drepper 98d3e9934d Update.
* stdlib/Makefile (tst-strtod-ENV): New variable.
2001-01-24 22:19:16 +00:00
Ulrich Drepper dc5fd90772 Update.
2001-01-24  Ulrich Drepper  <drepper@redhat.com>

	* stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
	separators.
	Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.

	* stdlib/tst-strtod.c (locale_test): New function.
	(main): Call locale_test.

	* include/sys/sysctl.h: New file.
2001-01-24 22:13:39 +00:00
Mark Kettenis 99f1b15bd1 * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost declaration of value such that we actually return the value of the environment variable.
2001-01-24  Mark Kettenis  <kettenis@gnu.org>

	* hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
	declaration of value such that we actually return the value of the
	environment variable.
2001-01-24 11:19:56 +00:00
Andreas Jaeger 1f3109a5f8 Update.
2001-01-24  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
	prototype.
	* sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.

	* include/sys/sysctl.h: New.

	* stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
	isomac.
2001-01-24 08:48:10 +00:00
Andreas Jaeger 7eff7a05a2 Update.
* stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to isomac.
2001-01-23 12:46:59 +00:00
Andreas Jaeger b0ed91aecf Update.
* elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
	arguments.  Reported by Jiri Kubicek <kubicek@bitsmart.com>,
	closes PR libc/2039.
2001-01-23 09:29:53 +00:00
Andreas Jaeger ecf525cdd7 Update.
2001-01-23  Andreas Jaeger  <aj@suse.de>

	* manual/install.texi (Tools for Compilation): Change required
	binutils version.
2001-01-23 08:23:14 +00:00
Andreas Jaeger ea9f119b61 Add test for new enough binutils version, move compiler/binutils test up.
* configure.in: Add test for new enough binutils version, move
	compiler/binutils test up.
2001-01-23 08:03:26 +00:00
Andreas Jaeger 7d0673aea5 * Versions.def: Add version GLIBC_2.2.2.
2001-01-22  Andreas Jaeger  <aj@suse.de>

	* Versions.def: Add version GLIBC_2.2.2.
2001-01-22 10:03:51 +00:00
Ulrich Drepper 3132d11a8a Update.
2001-01-21  Ulrich Drepper  <drepper@redhat.com>

	* iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
	available.
	* iconvdata/testdata/IBM932: New file.
	* iconvdata/testdata/IBM932..UTF8: New file.
	* iconvdata/testdata/IBM943: New file.
	* iconvdata/testdata/IBM943..UTF8: New file.
	Contributed by Masahide Washizawa <washi@jp.ibm.com>.
2001-01-22 03:56:13 +00:00
Ulrich Drepper 608d481e6b Update.
2001-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.

2001-01-21  Ulrich Drepper  <drepper@redhat.com>

	* malloc/malloc.c: Remove a few unnecessary initializers of global
	variables.
2001-01-22 00:12:23 +00:00
Ulrich Drepper a5fdf99b7c Update.
2000-12-09  H.J. Lu  <hjl@gnu.org>

	* nss/Makefile (routines): Add digits_dots.
	* nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
	* nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
	into a function.
	* nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
	function.
	* nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
	(TYPE_VAR_P): Likewise.
	(FLAGS_VAR): Likewise.
	(AF_VAR_P): Likewise.
	(INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
	instead of including digits_dots.c.
	* nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
	(TYPE_VAR_P): Likewise.
	(FLAGS_VAR): Likewise.
	(AF_VAR_P): Likewise.
	(INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
	instead of including digits_dots.c.
2001-01-21 21:23:21 +00:00
Ulrich Drepper df18ec9afe Update.
2001-01-21  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/posix/getaddrinfo.c: Reduce .data size.
2001-01-21 19:31:41 +00:00
Andreas Jaeger 01ed37472a Update.
2001-01-21  Andreas Jaeger  <aj@suse.de>

	* elf/constload2.c: Add prototype for init.
2001-01-21 17:16:06 +00:00
Ulrich Drepper d17c01f9fe Update.
* stdlib/stdlib.h (drand48_data): Make available only for
	__USE_MISC.  Rename elements to protect namespace.  Change type
	and position of a and init element.
	* stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
	differently.  Adjust for drand48_data change.  Don't compute a here,
	it comes from drand48_data.
	* stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
	differently.  Adjust for drand48_data change.  Compute a here.
	* stdlib/srand48_r.c: Likewise.
	* stdlib/drand48.c: Adjust for drand48_data change.
	* stdlib/lrand48.c: Likewise.
	* stdlib/mrand48.c: Likewise.
	* stdlib/seek48.c: Likewise.
	* stdlib/drand48_r.c: Likewise.
	* stdlib/lrand48_r.c: Likewise.
	* stdlib/mrand48_r.c: Likewise.
	* stdlib/seed48_r.c: Likewise.  Don't handle unsigned short > 16 bit
	differently.
	* stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
	* stdlib/jrand48_r.c: Likewise.
2001-01-21 16:54:08 +00:00
Ulrich Drepper 27cb6b28b9 Update.
2001-01-21  Ulrich Drepper  <drepper@redhat.com>

	* po/sv.po: Update from translation team.
2001-01-21 16:01:00 +00:00
Andreas Jaeger d28c955e53 Update.
2001-01-21  Andreas Jaeger  <aj@suse.de>

	* stdio-common/vfprintf.c (vfprintf): Add casts.
2001-01-21 14:58:35 +00:00
Ulrich Drepper 3b7caeac2c Update.
* iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
	the ASCII test.
	* iconvdata/TESTS: Add entries for IBM932 and IBM943.

	* iconvdata/Makefile (modules): Add IBM932 and IBM943.
	* iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
	* iconvdata/ibm932.c: New file.
	* iconvdata/ibm932.h: New file.
	* iconvdata/ibm943.c: New file.
	* iconvdata/ibm943.h: New file.
	Patches by Masahide Washizawa <washi@jp.ibm.com>.
2001-01-20 21:20:46 +00:00
Ulrich Drepper b72f9d5197 Update.
* sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
	preventing optimization from being done.  Set the correct type bit
	in seen.  Don't define and use _dl_base_addr unless
2001-01-20 19:14:31 +00:00
Ulrich Drepper 1b6020c13e Update.
* sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Initialize egid
	to 1.  This helps those installing ld.so SUID (nobody will be that
	stupid, I hope).  Don't define and use _dl_base_addr unless
	NEED_DL_BASE_ADDR is defined.
2001-01-20 16:51:01 +00:00
Ulrich Drepper 21a568e279 Update.
2001-01-20  Ulrich Drepper  <drepper@redhat.com>

	* io/ftw.c (ftw_dir): Add slash after directory name if there
	wasn't any.  Reported by loris <loris@iol.it>.
	* io/Makefile (tests): Add bug-ftw2.
	* io/bug-ftw2.c: New file.
2001-01-20 16:30:18 +00:00
Ulrich Drepper df152cc80e Update.
* stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
	results.  Reported by Jeff Higham <jhigham@algorithmics.com>.
	* stdlib/tst-rand48.c: New file.
	* stdlib/Makefile (tests): Add tst-rand48.
2001-01-20 04:33:16 +00:00
Ulrich Drepper ec4ae3b891 Update.
2001-01-19  Ulrich Drepper  <drepper@redhat.com>

	* locale/newlocale.c (__newlocale): Fix test for setting all
	categories.
2001-01-20 01:50:54 +00:00
Mark Kettenis db11c38c4d * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes, but change looking up the initial directory port in a similar way as done by _hurd_change_directory_port_from_name. * hurd/fchroot.c (fchroot): Likewise.
2001-01-19  Mark Kettenis  <kettenis@gnu.org>

	* sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
	but change looking up the initial directory port in a similar way
	as done by _hurd_change_directory_port_from_name.
	* hurd/fchroot.c (fchroot): Likewise.
2001-01-19 09:37:23 +00:00
Ulrich Drepper 4e56fdbce3 Update.
* sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
	defined don't look whether the AT_*ID values were set.
	If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
	(_dl_show_auxv): Rewrite to avoid switch statement.
	* sysdeps/unix/sysv/linux/kernel-features.h: Define
	__ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
	* sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
	Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
2001-01-19 05:16:45 +00:00
Ulrich Drepper 5287b1d872 Update.
* sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
	* sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
	* sysdeps/unix/sysv/linux/xstat64.c: Likewise.
2001-01-19 02:08:08 +00:00
Ulrich Drepper 1e71bd5279 Update.
* elf/rtld.c (process_envvars): Call __strtoul_internal instead of
	strtoul.
	* elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
	(__sigjmp_save): Set __mask_was_saved to zero since we don't save
	anything.
	* dlfcn/eval.c (__strtol_internal): Define here.
	(eval): Use __strtol_internal instead of strtol.
2001-01-19 00:36:48 +00:00
Ulrich Drepper 2e42b53ca2 Update.
2001-01-18  Ulrich Drepper  <drepper@redhat.com>

	* elf/elf.h: Add a few more EF_MIPS_* constants.
2001-01-18 23:46:16 +00:00
Ulrich Drepper 2244ddf2bf Update.
2001-01-17  Ulrich Drepper  <drepper@redhat.com>

	* manual/Makefile (chapters): Add debug.
	* manual/debug.texi: New file.
	* manual/examples/execinfo.c: New file.
	Patch by suckfish@ihug.co.nz.
2001-01-17 16:54:30 +00:00
Andreas Schwab ee4905312f * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
invalid asm.
2001-01-17 15:56:17 +00:00
Andreas Jaeger d26253b410 Update.
2001-01-17  Andreas Jaeger  <aj@suse.de>

	* nscd/connections.c (nscd_run): Use proper format specifier.
2001-01-17 10:45:44 +00:00
Ulrich Drepper 629cd0b808 Update.
* sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
	x86_platforms data into new file after prepending _dl_.  Change
	users.
	* sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
	* sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
	* sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
	dl-procinfo.c.
2001-01-17 01:14:51 +00:00
Ulrich Drepper eca90c85f5 Update.
* setjmp/setjmp.h: Cleanup definition of setjmp macro.
2001-01-17 01:01:02 +00:00
Ulrich Drepper 376c348c91 Update.
* sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
	* sysdeps/i386/elf/bsd-_setjmp.S: Removed.
	* sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
	* sysdeps/i386/bsd-_setjmp.S: Real implementation.
	* sysdeps/i386/bsd-setjmp.S: Real implementation.
	* sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
	* sysdeps/i386/setjmp.S: Remove PIC support.  This is the non-ELF
	version.
	* stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
2001-01-16 23:37:51 +00:00
Ulrich Drepper f806546c56 Update.
2001-01-16  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/i386/elf/setjmp.S (setjmp): Don't use __sigsetjmp code,
	do it here.
	(_setjmp): Likewise.
2001-01-16 23:11:39 +00:00
Andreas Jaeger 17b32c7409 Update.
2001-01-16  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
	misapplied last patch.
2001-01-16 06:39:20 +00:00
Ulrich Drepper a9e4124c20 Update.
* stdlib/random.c (__initstate): Clean up a cast.
	(__setstate): Likewise.
2001-01-16 01:11:59 +00:00
Ulrich Drepper ad7069d7f4 Update.
2001-01-15  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
	syscall handling.  The generic Linux version should work.
2001-01-15 20:31:16 +00:00
Andreas Jaeger dab645369b Update.
* sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
2001-01-15 15:52:12 +00:00
Andreas Jaeger d5049d866a Update.
2001-01-15  Andreas Jaeger  <aj@suse.de>

	* stdio-common/tstscanf.c (main): Add two testcases for '*'
	modifier.
2001-01-15 11:17:39 +00:00
Ulrich Drepper 5b6bed491f Update.
* sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
2001-01-15 07:59:24 +00:00
Ulrich Drepper 232b465589 Update.
2001-01-14  Jakub Jelinek  <jakub@redhat.com>

	* nss/getent.c (print_aliases, aliases_keys, ethers_keys,
	netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
	New functions.
	(group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
	If number is 0, list all.
	(services_keys): Likewise.  Lookup aliases as well.
	(databases): New table.
	(build_doc): Prepare argp doc text with list of supported databases.
	(main): Change to table driven processing.

2001-01-14  Thorsten Kukuk <kukuk@suse.de>

	* sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about this
	functions.

2001-01-03  Jakub Jelinek  <jakub@redhat.com>

	* sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
	encode value which does not fit in the 32bit type.
2001-01-15 07:22:30 +00:00
Andreas Jaeger 6589ba79ad Update.
2001-01-15  Hiroyuki Machida <machida@sm.sony.co.jp>

	* sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
	Change type of CTX to (struct sigcontext *).
	* sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
	(GET_FRAME): Likewise.
	(GET_STACK): Likewise.
	(SIGCONTEXT): Likewise. Add 2nd arg _code.
	(SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.

2001-01-12  Franz Sirl	<Franz.Sirl-kernel@lauterbach.com>
2001-01-12  Ben Collins	 <bcollins@debian.org>
	patch.	We must use unsigned int for l member of union.
2001-01-07  Ben Collins	 <bcollins@debian.org>
2001-01-05  Ben Collins	 <bcollins@debian.org>
2001-01-05  Ben Collins	 <bcollins@debian.org>
	if it is not available.	 Instead use it only if it is available.
	* elf/dl-support.c (DL_FIND_AUXV): New.	 Defined if not defined.
	(DCIGETTEXT): Change cache handing in the plural case.	Don't call
	to the caller instead.	Weaken comparison of string lengths, to account
2001-01-04  Kaz Kojima	<kkojima@rr.iij4u.or.jp>
2001-01-03  Franz Sirl	<Franz.Sirl-kernel@lauterbach.com>
2001-01-02  Franz Sirl	<Franz.Sirl-kernel@lauterbach.com>
2001-01-02  Franz Sirl	<Franz.Sirl-kernel@lauterbach.com>
2001-01-02  Ben Collins	 <bcollins@debian.org>
2001-01-01  Ben Collins	 <bcollins@debian.org>
2000-12-22  Ben Collins	 <bcollins@debian.org>
2000-12-27  Ben Collins	 <bcollins@debian.org>
2000-12-23  Ben Collins	 <bcollins@debian.org>
2000-12-15  Ben Collins	 <bcollins@debian.org>
2001-01-15 07:02:41 +00:00
Ulrich Drepper b82d4f727f Update.
2001-01-13  Ulrich Drepper  <drepper@redhat.com>

	* manual/texinfo.tex: Update from upstream version.
2001-01-14 03:33:32 +00:00
Ulrich Drepper 3f73836632 Update.
2001-01-13  Jakub Jelinek  <jakub@redhat.com>

	* inet/ether_ntoh.c (lookup_function): Change arguments to match
	_nss_*_getntohost_r prototype.
	(ether_ntohost): Pass errno pointer to NSS function.

2001-01-12  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
	(MAP_LOCKED): New definition.
	(MAP_NORESERVE): New definition.
2001-01-13 16:09:41 +00:00
Ulrich Drepper 234669e268 Update.
2001-01-12  Ulrich Drepper  <drepper@redhat.com>

	* assert/assert.h: Use static_cast instead of C-style cast for C++.
	Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
2001-01-13 00:55:28 +00:00
Andreas Jaeger 0376962668 Update.
* stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
2001-01-12 17:38:55 +00:00
Ulrich Drepper ff0eee2981 Update.
2001-01-12  Ben Collins  <bcollins@debian.org>

	* sysdeps/generic/segfault.c (install_handler): Use access, not
	__access.
2001-01-12 17:35:00 +00:00
Andreas Jaeger a7cdbcb81b Update.
2001-01-12  Andreas Jaeger  <aj@suse.de>

	* posix/fnmatch_loop.c (FCT): Remove signed warnings.
	* posix/wordexp.c (do_parse_glob): Likewise.
	* sysdeps/posix/sigblock.c (__sigblock): Likewise.
	* sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
	* elf/dl-open.c (_dl_open): Likewise.
	* elf/dl-close.c (_dl_close): Likewise.
	* elf/dl-load.c (_dl_map_object): Likewise.
	* iconv/iconv_prog.c (process_fd): Likewise.

	* locale/localeinfo.h (struct locale_data): Use __flexarr instead
	of a zero-length array.
2001-01-12 17:04:13 +00:00
Ulrich Drepper 5ef50d00de Update.
2001-01-11  Jakub Jelinek  <jakub@redhat.com>

	* stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
	* stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
	* stdlib/cxa_on_exit.c: Remove.
	* stdlib/Makefile: Revert last patch.
	* stdlib/Versions: Likewise.
	* include/stdlib.h: Likewise.
	* stdlib/exit.h: Revert last patch.
	(struct exit_function): Add second argument to cxa fn.
	* stdlib/exit.c: Revert last patch.
	(exit): Add hidden second argument.
2001-01-12 07:29:55 +00:00
Ulrich Drepper 7e36861e77 Update.
2001-01-11  H.J. Lu  <hjl@gnu.org>

	* elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
	* elf/dl-open.c (_dl_open): Here.
	* sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
	Make it static.
	(_dl_static_init): Initialize the variables every time when possible.
	* sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
	Undefine it first.
2001-01-11 19:42:21 +00:00
Ulrich Drepper 3bbddbe4a3 Update.
2001-01-11  Ulrich Drepper  <drepper@redhat.com>

	* stdlib/Makefile (routines): Add cxa_on_exit.
	* stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
	* stdlib/cxa_on_exit.c: New file.
	* include/stdlib.h: Add prototype for __cxa_on_exit.
	* stdlib/exit.c: Handle ef_cxa2.
	* stdlib/exit.h (enum): Add ef_cxa2.
	(struct exit_function): Add cxa2.

	* Versions.def [ld]: Add GLIBC_2.2.1.
2001-01-11 19:25:07 +00:00
Ulrich Drepper beb5387cf6 Update.
2001-01-10  H.J. Lu  <hjl@gnu.org>

	* elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
	* sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
	dl-static.
	* sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
	* sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
	* sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
	* sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
	* sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
2001-01-11 17:50:24 +00:00
Ulrich Drepper c926001f2a Update.
2001-01-11  Ulrich Drepper  <drepper@redhat.com>

	* libio/stdio.h: Remove definition of off_t.
2001-01-11 17:24:47 +00:00
Andreas Jaeger 64ed453308 Update.
2001-01-11  Andreas Jaeger  <aj@suse.de>

	* wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
	<mkuhn@acm.org>.
2001-01-11 16:30:23 +00:00
Ulrich Drepper b9483044c3 Update.
2001-01-10  Ulrich Drepper  <drepper@redhat.com>

	* sunrpc/Makefile (distribute): Add errqueue.h.
2001-01-11 03:06:50 +00:00
Ulrich Drepper b1eab23011 Update.
* sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
	r9, r10 and r11 for language specific registers.

2001-01-10  Jakub Jelinek  <jakub@redhat.com>

	* sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
	UDP socket.
	(clntudp_call): Handle MSG_ERRQUEUE.
	* sysdeps/generic/errqueue.h: New file.
	* sysdeps/unix/sysv/linux/errqueue.h: New file.

2001-01-10  H.J. Lu  <hjl@gnu.org>
2001-01-10 23:47:39 +00:00
Ulrich Drepper 963100c9f9 Update.
2001-01-10  H.J. Lu  <hjl@gnu.org>

	* sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
2001-01-10 19:04:45 +00:00
Ulrich Drepper e32f61253b Update.
2001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>

	* CONFORMANCE: Update.
2001-01-10 18:12:15 +00:00
Ulrich Drepper 88d88a58d7 Update.
* sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
	Minimal cleanups.  Add assert to ensure memory handling is correct.
2001-01-10 01:02:24 +00:00
Ulrich Drepper 4ab5b7b53f Update.
* manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
	Reported by Ben Collins <bcollins@debian.org>.
2001-01-10 00:51:04 +00:00
Ulrich Drepper 4dd98cad25 Update.
2001-01-09  Ulrich Drepper  <drepper@redhat.com>

	* time/strftime.c (my_strftime): Mark previous GNU extensions
	which are now in C99 as such.
2001-01-09 17:54:30 +00:00
Ulrich Drepper 92effacf83 Update.
* elf/rtld.c (process_envvars): Place output files for profiling
	in SUID binaries in /var/profile.
2001-01-09 04:32:41 +00:00
Ulrich Drepper 27f9ede1e9 Update.
* elf/dl-load.c (_dl_map_object): Don't look in cache for
	preloading in SUID binaries.
2001-01-09 04:26:31 +00:00
Ulrich Drepper f2a8d16bed Update.
* elf/dl-profile.c (_dl_start_profile): Open the output file with
	O_NOFOLLOW if possible.
2001-01-09 03:08:54 +00:00
Ulrich Drepper 0101a56fd6 Update.
* include/stdlib.h: Add __posix_openpt declaration.
	* stdlib/stdlib.h: Add posix_openpt declaration.
	* login/Versions: Add posix_openpt for GLIBC_2.2.1.
	* sysdeps/generic/getpt.c: Define posix_openpt.
	* sysdeps/unix/bsd/getpt.c: Likewise.
	* sysdeps/unix/sysv/linux/getpt.c: Likewise.
2001-01-09 01:59:17 +00:00
Ulrich Drepper 354e6102a1 Update.
* time/Makefile (tests): Add tst-mktime.
	* time/tst-mktime.c: New file.

	* posix/tst-dir.c (main): One more mkdir() test.
2001-01-09 01:04:59 +00:00
Ulrich Drepper f93e323f9e Update.
* sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
	Remove getpagesize syscall.  We assume that the pagesize is always
	determined from the auxiliary vector.
2001-01-08 22:30:44 +00:00
Ulrich Drepper 0b795736c8 Update.
* intl/dcigettext.c: Fix a few warnings.
	Patch by Bruno Haible <haible@ilog.fr>.

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

	* io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
	Reported by Joseph S. Myers <jsm28@cam.ac.uk>.

2001-01-08  Ulrich Drepper  <drepper@redhat.com>
2001-01-08 22:28:15 +00:00
Ulrich Drepper 2090dd7364 Update.
* sysdeps/generic/segfault.c (install_handler): Check output file
	name with access().
2001-01-08 18:06:26 +00:00
Ulrich Drepper 52ee62236b Update.
* resolv/res_query.c: Use simply getenv() for HOSTALIASES.
	* sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
2001-01-08 17:55:53 +00:00
Ulrich Drepper 0eb8a89b50 Update.
* sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
2001-01-08 17:38:52 +00:00
Ulrich Drepper cf1bb6d5c0 Update.
* malloc/memusage.c (me): Use access() to determine whether we
	should write the output file or not.
2001-01-08 17:21:48 +00:00
Ulrich Drepper 1950ebc6cb Update.
* stdio-common/printf.c: Undefine printf.
2001-01-08 08:59:36 +00:00
Ulrich Drepper 9b2c75233e Update.
2001-01-08  Ulrich Drepper  <drepper@redhat.com>

	* libio/bits/stdio.h (printf): Define macro to map printf call to
	fprintf which gcc can optimize.
2001-01-08 08:50:37 +00:00
Ulrich Drepper bf2c10ded6 Update.
* sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
	patch.  We must use unsigned int for l member of union.
2001-01-07 20:02:56 +00:00
Ulrich Drepper 51ac41a799 Update.
* sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
	_dl_aux_init for shared libraries.
2001-01-07 19:09:48 +00:00
Ulrich Drepper af58d8a273 Update.
2001-01-07  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/glob64.c: Moved to ...
	* sysdeps/gnu/glob64.c: ...here.  New file.
2001-01-07 17:27:59 +00:00
Ulrich Drepper 9495793d2a Update.
2001-01-07  Ben Collins  <bcollins@debian.org>

	* manual/examples/longopt.c: Make the "struct option" a little
	more like it should be, adding usage of required_argument,
	noargument and such, and also setting the options string right.

	* manual/sysinfo.texi (Load Average): New section, documents
	getloadavg().
2001-01-07 16:59:39 +00:00
Ulrich Drepper dabb1db4d1 Update.
* sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
	* sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
	* dlfcn/Makefile (distribute): Add errmsg1mod.c.
	* Makefile (distribute): Add include/libc-internal.h.
	* libio/Makefile (distribute): Avoid overwriting.
2001-01-07 07:37:31 +00:00
Ulrich Drepper b41486e9c9 Update.
* sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
2001-01-07 07:04:03 +00:00
Ulrich Drepper 22f021231b Update.
* version.h (VERSION): Bump to 2.2.1.
2001-01-07 06:25:47 +00:00
Ulrich Drepper 531950cebd Update.
2001-01-06  Ulrich Drepper  <drepper@redhat.com>

	* iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
	buffer and table handling.
2001-01-07 04:34:56 +00:00
Ulrich Drepper e4a5f77de6 Update.
2001-01-05  H.J. Lu  <hjl@gnu.org>

	* elf/dl-support.c (non_dynamic_init): Move the auxiliary
	vector checking to ...
	(_dl_aux_init): Here. New function. Defined only if
	HAVE_AUX_VECTOR is defined.

	* sysdeps/generic/libc-start.c (__libc_start_main): Call
	_dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.

	* sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
	_dl_aux_init.

	* sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
	(HAVE_AUX_VECTOR): Defined.
	(_dl_aux_init): Declared.
2001-01-07 02:00:21 +00:00
Ulrich Drepper bf798a9534 Update.
2001-01-05  Ben Collins  <bcollins@debian.org>

	* manual/string.texi (Finding Tokens in a String): Document XPG
	basename() and dirname(), as well as GNU basename().

2001-01-05  Jakub Jelinek  <jakub@redhat.com>

	* Makeconfig (preprocess-version): Replace -traditional with
	-x assembler-with-cpp.

2001-01-05  Joseph S. Myers  <jsm28@cam.ac.uk>

	* math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
	for GCC 2.97 or later.

2001-01-05  Ben Collins  <bcollins@debian.org>

	* manual/stdio.texi (getline): Clarify the return value in the
	case of EOF being reached before a newline.

2001-01-04  Jakub Jelinek  <jakub@redhat.com>

	* sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
	FALSE otherwise.
	(pmap_set, pmap_unset): Check __get_myaddress return value.

2001-01-05  Mark Kettenis  <kettenis@gnu.org>

	* sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
	(struct ether_addr): Declare ether_addr_octet member as
	`u_int8_t'.  Add __attribute__ ((__packed__)).
2001-01-07 00:39:33 +00:00
Mark Kettenis 4c587216c9 * sysdeps/mach/hurd/readdir64.c: New file. * sysdeps/mach/hurd/readdir64_r.c: New file.
2001-01-06  Mark Kettenis  <kettenis@gnu.org>

	* sysdeps/mach/hurd/readdir64.c: New file.
	* sysdeps/mach/hurd/readdir64_r.c: New file.
2001-01-07 00:25:46 +00:00
Mark Kettenis ce08cce99d * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about `struct statfs' and `struct statvfs' being identical. * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
2001-01-07  Mark Kettenis  <kettenis@gnu.org>

	* sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
	`struct statfs' and `struct statvfs' being identical.
	* sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
2001-01-07 00:18:58 +00:00
Mark Kettenis 7b3d21b227 * sysdeps/mach/hurd/fstatfs64.c: New file. * sysdeps/mach/hurd/fstatvfs64.c: New file. * sysdeps/mach/hurd/statfs64.c: New file. * sysdeps/mach/hurd/statvfs64.c: New file. * sysdeps/mach/hurd/statfsconv.c: New file. * sysdeps/mach/hurd/Dist: Add statfsconv.c.
2001-01-06  Mark Kettenis  <kettenis@gnu.org>

	* sysdeps/mach/hurd/fstatfs64.c: New file.
	* sysdeps/mach/hurd/fstatvfs64.c: New file.
	* sysdeps/mach/hurd/statfs64.c: New file.
	* sysdeps/mach/hurd/statvfs64.c: New file.
	* sysdeps/mach/hurd/statfsconv.c: New file.
	* sysdeps/mach/hurd/Dist: Add statfsconv.c.
2001-01-07 00:13:43 +00:00
Ulrich Drepper f1813b562b Update.
2001-01-06  Ulrich Drepper  <drepper@redhat.com>

	* iconv/skeleton.c: Reset outbuf for next round of the loop.
	Reported by Owen Taylor <otaylor@redhat.com>.
	* iconv/Makefile (tests): Add tst-iconv3.
	* iconv/tst-iconv3.c: New file.

	* iconvdata/ibm930.c: Fix handling of state.  Optimize a bit.
	* iconvdata/ibm933.c: Likewise.
	* iconvdata/ibm935.c: Likewise.
	* iconvdata/ibm937.c: Likewise.
	* iconvdata/ibm939.c: Likewise.
	* iconvdata/ibm930.h: Adjust single byte table for optimization.
	* iconvdata/ibm933.h: Likewise.
	* iconvdata/ibm935.h: Likewise.
	* iconvdata/ibm939.h: Likewise.

	* iconvdata/testdata/IBM930: Add misssing SI.
	* iconvdata/testdata/IBM933: Likewise.
	* iconvdata/testdata/IBM935: Likewise.
	* iconvdata/testdata/IBM937: Likewise.
	* iconvdata/testdata/IBM939: Likewise.

	* configure.in: Check for old add-ons that shouldn't be used with
	current glibc anymore.
2001-01-06 20:21:33 +00:00
Andreas Jaeger aa44a9de3d * configure.in: Check for old add-ons that shouldn't be used with current glibc anymore.
2001-01-06  Andreas Jaeger  <aj@suse.de>

        * configure.in: Check for old add-ons that shouldn't be used with
        current glibc anymore.
2001-01-06 17:33:47 +00:00
Mark Kettenis 655bfb8bff * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number instead of -1 on failure. Don't forget to copy file name into *ENTRY if successful. Set *RESULT to NULL upon reaching the end of the directory.
* sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
	instead of -1 on failure.  Don't forget to copy file name into
	*ENTRY if successful.  Set *RESULT to NULL upon reaching the end
	of the directory.

2001-01-06  Mark Kettenis  <kettenis@gnu.org>
2001-01-06 12:31:35 +00:00
Mark Kettenis 74ec0232c2 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to copy st_atime member.
2001-01-06  Mark Kettenis  <kettenis@gnu.org>

	* sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
	copy st_atime member.
2001-01-06 01:52:03 +00:00
Ulrich Drepper 25f227b924 Update.
* io/ftw.c (ftw_dir): Don't add a second slash at the beginning
	for searches from the root directory.
	Reported by loris <loris@iol.it> [PR libc/1991].
	* io/Makefile (tests): Add bug-ftw1.
	* io/bug-ftw1.c: New file.
2001-01-05 18:10:10 +00:00
Ulrich Drepper 155fd00c74 Update.
* elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
	if it is not available.  Instead use it only if it is available.
	* sysdeps/unix/sysv/linux/ldsodefs.h: New file.
2001-01-05 16:27:04 +00:00
Ulrich Drepper c4f6641346 Update.
2001-01-05  Ulrich Drepper  <drepper@redhat.com>

	* iconv/gconv_simple.c (internal_ics4_loop): Correct test for
	overflowing output buffer.
	(internal_ucs4_loop_unaligned): Likewise.
	(ucs4_internal_loop): Likewise.
	(ucs4_internal_loop_unaligned): Likewise.
	(internal_ucs4le_loop): Likewise.
	(internal_ucs4le_loop_unaligned): Likewise.
	(ucs4le_internal_loop): Likewise.
	(ucs4le_internal_loop_unaligned): Likewise.
	Reported by Owen Taylor <otaylor@redhat.com>.
	* iconv/Makefile (tests): Add tst-iconv2.
	* iconv/tst-iconv2.c: New file.
2001-01-05 08:10:28 +00:00
Ulrich Drepper f8f900ecb9 Update
2001-01-04  H.J. Lu  <hjl@gnu.org>

	* elf/dl-support.c (DL_FIND_AUXV): New.  Defined if not defined.
	(_dl_clktck): Declared.
	(non_dynamic_init): Take 3 arguments.
	Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.

2001-01-01  Bruno Haible  <haible@clisp.cons.org>

	Finish implementation of plural form handling.
	* intl/dcigettext.c (known_translation_t): Rename 'domain' field to
	'domainname'.  Remove 'plindex' field. Add 'domain' and
	'translation_length' fields.
	(transcmp): Don't compare 'plindex' fields.
	(plural_lookup): New function.
	(DCIGETTEXT): Change cache handing in the plural case.  Don't call
	plural_eval before the translation and its catalog file have been
	found. Remove plindex from cache key.  Add 'translation_length' and
	'domain' to cache result.
	(_nl_find_msg): Remove index argument, return length of translation
	to the caller instead.  Weaken comparison of string lengths, to account
	for plural entries.  Call iconv() on the entire result string, not
	only on the portion needed so far.
	* intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
	argument.
	* intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
2001-01-05 06:43:17 +00:00
Ulrich Drepper eda6c725e7 Update.
2001-01-04  Ulrich Drepper  <drepper@redhat.com>

	* intl/plural.y (yylex): Minimal improvement in number scanner.
2001-01-05 06:18:46 +00:00
Ulrich Drepper 61402fd689 Update.
2000-07-31  Bruno Haible  <haible@clisp.cons.org>

	* intl/plural.y: Include config.h. Needed to define 'inline' away for
	C compilers that don't support it.
	(yylex): Don't use gcc specific case range syntax.
	* intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
	compilers.

2000-10-12  Bruno Haible  <haible@clisp.cons.org>

	* intl/finddomain.c: Remove unneeded includes.

2000-10-12  Bruno Haible  <haible@clisp.cons.org>

	* intl/localealias.c (memcpy): Return first argument, just like the
	real memcpy function does.
	* intl/bindtextdom.c (memcpy): Likewise.
	* intl/finddomain.c (memcpy): Likewise.
	* intl/l10nflist.c (memcpy): Likewise.
	* intl/textdomain.c (memcpy): Likewise.
	From Paul Eggert <eggert@twinsun.com>.
2001-01-05 05:52:11 +00:00
Ulrich Drepper 03fbfeb508 Update.
2001-01-03  Jakub Jelinek  <jakub@redhat.com>

	* resolv/resolv.h (struct __res_state): Add nsinit field.
	* resolv/res_send.c (res_nsend): Use it instead of nscount.
	* resolv/res_init.c (__res_vinit): Initialize it.
	(res_nclose): Clear it instead of nscount.

	* malloc/mtrace.pl: Fix matching of addresses.
	Patch by Aharon Robbins <arnold@skeeve.com>.
2001-01-05 02:36:27 +00:00