platform/upstream/glibc.git
23 years agoUpdate.
Ulrich Drepper [Sat, 20 Jan 2001 16:30:18 +0000 (16:30 +0000)]
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.

23 years agoUpdate.
Ulrich Drepper [Sat, 20 Jan 2001 04:33:16 +0000 (04:33 +0000)]
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.

23 years agoUpdate.
Ulrich Drepper [Sat, 20 Jan 2001 01:50:54 +0000 (01:50 +0000)]
Update.

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

* locale/newlocale.c (__newlocale): Fix test for setting all
categories.

23 years ago(__newlocale): Fix test for setting all categories.
Ulrich Drepper [Sat, 20 Jan 2001 01:49:21 +0000 (01:49 +0000)]
(__newlocale): Fix test for setting all categories.

23 years ago* sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes, but change looking...
Mark Kettenis [Fri, 19 Jan 2001 09:37:23 +0000 (09:37 +0000)]
* 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.

23 years agoUpdate.
Ulrich Drepper [Fri, 19 Jan 2001 05:16:45 +0000 (05:16 +0000)]
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.

23 years agoUpdate.
Ulrich Drepper [Fri, 19 Jan 2001 02:08:08 +0000 (02:08 +0000)]
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.

23 years agoUpdate.
Ulrich Drepper [Fri, 19 Jan 2001 00:36:48 +0000 (00:36 +0000)]
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.

23 years agoUpdate.
Ulrich Drepper [Thu, 18 Jan 2001 23:46:16 +0000 (23:46 +0000)]
Update.

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

* elf/elf.h: Add a few more EF_MIPS_* constants.

23 years agoUpdate.
Ulrich Drepper [Wed, 17 Jan 2001 16:54:30 +0000 (16:54 +0000)]
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.

23 years agoExample for backtrace() functions.
Ulrich Drepper [Wed, 17 Jan 2001 16:51:27 +0000 (16:51 +0000)]
Example for backtrace() functions.

23 years ago* sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
Andreas Schwab [Wed, 17 Jan 2001 15:56:17 +0000 (15:56 +0000)]
* sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid

invalid asm.

23 years ago(__bswap_32): Add cast to avoid invalid asm.
Andreas Schwab [Wed, 17 Jan 2001 15:54:57 +0000 (15:54 +0000)]
(__bswap_32): Add cast to avoid invalid asm.

23 years agoUpdate.
Andreas Jaeger [Wed, 17 Jan 2001 10:45:44 +0000 (10:45 +0000)]
Update.

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

* nscd/connections.c (nscd_run): Use proper format specifier.

23 years ago(nscd_run): Use proper format specifier.
Andreas Jaeger [Wed, 17 Jan 2001 10:45:25 +0000 (10:45 +0000)]
(nscd_run): Use proper format specifier.

23 years agoUpdate.
Ulrich Drepper [Wed, 17 Jan 2001 01:14:51 +0000 (01:14 +0000)]
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.

23 years agoUpdate.
Ulrich Drepper [Wed, 17 Jan 2001 01:01:02 +0000 (01:01 +0000)]
Update.

* setjmp/setjmp.h: Cleanup definition of setjmp macro.

23 years agoUpdate.
Ulrich Drepper [Tue, 16 Jan 2001 23:37:51 +0000 (23:37 +0000)]
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.

23 years agoUpdate.
Ulrich Drepper [Tue, 16 Jan 2001 23:11:39 +0000 (23:11 +0000)]
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.

23 years ago(setjmp): Don't use __sigsetjmp code, do it here. (_setjmp): Likewise.
Ulrich Drepper [Tue, 16 Jan 2001 23:10:00 +0000 (23:10 +0000)]
(setjmp): Don't use __sigsetjmp code, do it here. (_setjmp): Likewise.

23 years agoUpdate.
Andreas Jaeger [Tue, 16 Jan 2001 06:39:20 +0000 (06:39 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
misapplied last patch.

23 years agoFix typo in last patch.
Andreas Jaeger [Tue, 16 Jan 2001 06:38:37 +0000 (06:38 +0000)]
Fix typo in last patch.

23 years agoUpdate.
Ulrich Drepper [Tue, 16 Jan 2001 01:11:59 +0000 (01:11 +0000)]
Update.

* stdlib/random.c (__initstate): Clean up a cast.
(__setstate): Likewise.

23 years agoUpdate.
Ulrich Drepper [Mon, 15 Jan 2001 20:31:16 +0000 (20:31 +0000)]
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.

23 years agoRemove select syscall handling. The generic Linux version should work.
Ulrich Drepper [Mon, 15 Jan 2001 20:29:25 +0000 (20:29 +0000)]
Remove select syscall handling.  The generic Linux version should work.

23 years agoUpdate.
Andreas Jaeger [Mon, 15 Jan 2001 15:52:12 +0000 (15:52 +0000)]
Update.

* sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.

23 years agoUpdate.
Andreas Jaeger [Mon, 15 Jan 2001 11:17:39 +0000 (11:17 +0000)]
Update.

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

* stdio-common/tstscanf.c (main): Add two testcases for '*'
modifier.

23 years ago* stdio-common/tstscanf.c (main): Add two testcases for '*'
Andreas Jaeger [Mon, 15 Jan 2001 11:17:23 +0000 (11:17 +0000)]
* stdio-common/tstscanf.c (main): Add two testcases for '*'

modifier.

23 years agoUpdate.
Ulrich Drepper [Mon, 15 Jan 2001 07:59:24 +0000 (07:59 +0000)]
Update.

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

23 years agoUpdate.
Ulrich Drepper [Mon, 15 Jan 2001 07:22:30 +0000 (07:22 +0000)]
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.

23 years ago(xdr_long, xdr_u_long): Fix comments about this functions. (xdr_long, xdr_u_long...
Ulrich Drepper [Mon, 15 Jan 2001 07:20:34 +0000 (07:20 +0000)]
(xdr_long, xdr_u_long): Fix comments about this functions. (xdr_long, xdr_u_long): Return FALSE if trying to encode value which does not fit in the 32bit type.

23 years agoUpdate.
Andreas Jaeger [Mon, 15 Jan 2001 07:02:41 +0000 (07:02 +0000)]
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>

23 years ago* sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
Andreas Jaeger [Mon, 15 Jan 2001 07:02:28 +0000 (07:02 +0000)]
* 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.

23 years agoUpdate.
Ulrich Drepper [Sun, 14 Jan 2001 03:33:32 +0000 (03:33 +0000)]
Update.

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

* manual/texinfo.tex: Update from upstream version.

23 years agoUpdate from upstream version.
Ulrich Drepper [Sun, 14 Jan 2001 03:32:41 +0000 (03:32 +0000)]
Update from upstream version.

23 years agoRegenerated. cvs/glibc-2_2_1 glibc-2.2.1
Andreas Jaeger [Sat, 13 Jan 2001 16:52:22 +0000 (16:52 +0000)]
Regenerated.

23 years agoFix crossreference.
Andreas Jaeger [Sat, 13 Jan 2001 16:52:03 +0000 (16:52 +0000)]
Fix crossreference.

23 years ago(ether_ntohost): Add year to copyright.
Ulrich Drepper [Sat, 13 Jan 2001 16:21:19 +0000 (16:21 +0000)]
(ether_ntohost): Add year to copyright.

23 years agoUpdate.
Ulrich Drepper [Sat, 13 Jan 2001 16:09:41 +0000 (16:09 +0000)]
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.

23 years agoUpdate.
Ulrich Drepper [Sat, 13 Jan 2001 00:55:28 +0000 (00:55 +0000)]
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>.

23 years agoUse static_cast instead of C-style cast for C++.
Ulrich Drepper [Sat, 13 Jan 2001 00:04:45 +0000 (00:04 +0000)]
Use static_cast instead of C-style cast for C++.

23 years agoUpdate.
Andreas Jaeger [Fri, 12 Jan 2001 17:38:55 +0000 (17:38 +0000)]
Update.

* stdio-common/vfscanf.c (_IO_vfscanf): Likewise.

23 years agoRemove signed warnings.
Andreas Jaeger [Fri, 12 Jan 2001 17:37:54 +0000 (17:37 +0000)]
Remove signed warnings.

23 years agoUpdate.
Ulrich Drepper [Fri, 12 Jan 2001 17:35:00 +0000 (17:35 +0000)]
Update.

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

* sysdeps/generic/segfault.c (install_handler): Use access, not
__access.

23 years ago(install_handler): Use access, not __access.
Ulrich Drepper [Fri, 12 Jan 2001 17:34:37 +0000 (17:34 +0000)]
(install_handler): Use access, not __access.

23 years agoUpdate.
Andreas Jaeger [Fri, 12 Jan 2001 17:04:13 +0000 (17:04 +0000)]
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.

23 years ago* posix/fnmatch_loop.c (FCT): Remove signed warnings.
Andreas Jaeger [Fri, 12 Jan 2001 17:03:52 +0000 (17:03 +0000)]
* 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.

23 years agoUpdate.
Ulrich Drepper [Fri, 12 Jan 2001 07:29:55 +0000 (07:29 +0000)]
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.

23 years agoUpdate.
Ulrich Drepper [Thu, 11 Jan 2001 19:42:21 +0000 (19:42 +0000)]
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.

23 years agoUpdate.
Ulrich Drepper [Thu, 11 Jan 2001 19:25:07 +0000 (19:25 +0000)]
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.

23 years agoUpdate.
Ulrich Drepper [Thu, 11 Jan 2001 17:50:24 +0000 (17:50 +0000)]
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.

23 years agoUpdate.
Ulrich Drepper [Thu, 11 Jan 2001 17:24:47 +0000 (17:24 +0000)]
Update.

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

* libio/stdio.h: Remove definition of off_t.

23 years agoRemove definition of off_t.
Ulrich Drepper [Thu, 11 Jan 2001 17:23:27 +0000 (17:23 +0000)]
Remove definition of off_t.

23 years agoUpdate.
Andreas Jaeger [Thu, 11 Jan 2001 16:30:23 +0000 (16:30 +0000)]
Update.

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

* wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
<mkuhn@acm.org>.

23 years ago* wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
Andreas Jaeger [Thu, 11 Jan 2001 16:30:08 +0000 (16:30 +0000)]
* wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn

<mkuhn@acm.org>.

23 years agoUpdate.
Ulrich Drepper [Thu, 11 Jan 2001 03:06:50 +0000 (03:06 +0000)]
Update.

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

* sunrpc/Makefile (distribute): Add errqueue.h.

23 years agoUpdate.
Ulrich Drepper [Wed, 10 Jan 2001 23:47:39 +0000 (23:47 +0000)]
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>

23 years agoUpdate.
Ulrich Drepper [Wed, 10 Jan 2001 19:04:45 +0000 (19:04 +0000)]
Update.

2001-01-10  H.J. Lu  <hjl@gnu.org>

* sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.

23 years agoUpdate.
Ulrich Drepper [Wed, 10 Jan 2001 18:12:15 +0000 (18:12 +0000)]
Update.

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

* CONFORMANCE: Update.

23 years agoUpdate.
Ulrich Drepper [Wed, 10 Jan 2001 01:02:24 +0000 (01:02 +0000)]
Update.

* sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
Minimal cleanups.  Add assert to ensure memory handling is correct.

23 years agoUpdate.
Ulrich Drepper [Wed, 10 Jan 2001 00:51:04 +0000 (00:51 +0000)]
Update.

* manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
Reported by Ben Collins <bcollins@debian.org>.

23 years agoUpdate.
Ulrich Drepper [Tue, 9 Jan 2001 17:54:30 +0000 (17:54 +0000)]
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.

23 years agoUpdate.
Ulrich Drepper [Tue, 9 Jan 2001 04:32:41 +0000 (04:32 +0000)]
Update.

* elf/rtld.c (process_envvars): Place output files for profiling
in SUID binaries in /var/profile.

23 years agoUpdate.
Ulrich Drepper [Tue, 9 Jan 2001 04:26:31 +0000 (04:26 +0000)]
Update.

* elf/dl-load.c (_dl_map_object): Don't look in cache for
preloading in SUID binaries.

23 years agoUpdate.
Ulrich Drepper [Tue, 9 Jan 2001 03:08:54 +0000 (03:08 +0000)]
Update.

* elf/dl-profile.c (_dl_start_profile): Open the output file with
O_NOFOLLOW if possible.

23 years agoUpdate.
Ulrich Drepper [Tue, 9 Jan 2001 01:59:17 +0000 (01:59 +0000)]
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.

23 years agoUpdate.
Ulrich Drepper [Tue, 9 Jan 2001 01:04:59 +0000 (01:04 +0000)]
Update.

* time/Makefile (tests): Add tst-mktime.
* time/tst-mktime.c: New file.

* posix/tst-dir.c (main): One more mkdir() test.

23 years agoUpdate.
Ulrich Drepper [Mon, 8 Jan 2001 22:30:44 +0000 (22:30 +0000)]
Update.

* sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
Remove getpagesize syscall.  We assume that the pagesize is always
determined from the auxiliary vector.

23 years agoUpdate.
Ulrich Drepper [Mon, 8 Jan 2001 22:28:15 +0000 (22:28 +0000)]
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>

23 years agoUpdate.
Ulrich Drepper [Mon, 8 Jan 2001 18:06:26 +0000 (18:06 +0000)]
Update.

* sysdeps/generic/segfault.c (install_handler): Check output file
name with access().

23 years agoUpdate.
Ulrich Drepper [Mon, 8 Jan 2001 17:55:53 +0000 (17:55 +0000)]
Update.

* resolv/res_query.c: Use simply getenv() for HOSTALIASES.
* sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.

23 years agoUpdate.
Ulrich Drepper [Mon, 8 Jan 2001 17:38:52 +0000 (17:38 +0000)]
Update.

* sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.

23 years agoUpdate.
Ulrich Drepper [Mon, 8 Jan 2001 17:21:48 +0000 (17:21 +0000)]
Update.

* malloc/memusage.c (me): Use access() to determine whether we
should write the output file or not.

23 years agoUpdate.
Ulrich Drepper [Mon, 8 Jan 2001 08:59:36 +0000 (08:59 +0000)]
Update.

* stdio-common/printf.c: Undefine printf.

23 years agoUpdate.
Ulrich Drepper [Mon, 8 Jan 2001 08:50:37 +0000 (08:50 +0000)]
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.

23 years agoUpdate.
Ulrich Drepper [Sun, 7 Jan 2001 20:02:56 +0000 (20:02 +0000)]
Update.

* sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
patch.  We must use unsigned int for l member of union.

23 years agoUpdate.
Ulrich Drepper [Sun, 7 Jan 2001 19:09:48 +0000 (19:09 +0000)]
Update.

* sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
_dl_aux_init for shared libraries.

23 years agoUpdate.
Ulrich Drepper [Sun, 7 Jan 2001 17:27:59 +0000 (17:27 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/glob64.c: Moved to ...
* sysdeps/gnu/glob64.c: ...here.  New file.

23 years agoUpdate.
Ulrich Drepper [Sun, 7 Jan 2001 16:59:39 +0000 (16:59 +0000)]
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().

23 years agoUpdate.
Ulrich Drepper [Sun, 7 Jan 2001 07:37:31 +0000 (07:37 +0000)]
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.

23 years agoUpdate.
Ulrich Drepper [Sun, 7 Jan 2001 07:04:03 +0000 (07:04 +0000)]
Update.

* sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.

23 years agoUpdate.
Ulrich Drepper [Sun, 7 Jan 2001 06:25:47 +0000 (06:25 +0000)]
Update.

* version.h (VERSION): Bump to 2.2.1.

23 years agoUpdate.
Ulrich Drepper [Sun, 7 Jan 2001 04:34:56 +0000 (04:34 +0000)]
Update.

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

* iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
buffer and table handling.

23 years agoUpdate.
Ulrich Drepper [Sun, 7 Jan 2001 02:00:21 +0000 (02:00 +0000)]
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.

23 years agoUpdate.
Ulrich Drepper [Sun, 7 Jan 2001 00:39:33 +0000 (00:39 +0000)]
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__)).

23 years ago(preprocess-version): Replace -traditional with -x assembler-with-cpp.
Ulrich Drepper [Sun, 7 Jan 2001 00:37:33 +0000 (00:37 +0000)]
(preprocess-version): Replace -traditional with -x assembler-with-cpp.

23 years ago* sysdeps/mach/hurd/readdir64.c: New file. * sysdeps/mach/hurd/readdir64_r.c: New...
Mark Kettenis [Sun, 7 Jan 2001 00:25:46 +0000 (00:25 +0000)]
* 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.

23 years ago* sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about `struct statfs' and...
Mark Kettenis [Sun, 7 Jan 2001 00:18:58 +0000 (00:18 +0000)]
* 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.

23 years ago* sysdeps/mach/hurd/fstatfs64.c: New file. * sysdeps/mach/hurd/fstatvfs64.c: New...
Mark Kettenis [Sun, 7 Jan 2001 00:13:43 +0000 (00:13 +0000)]
* 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.

23 years ago(Finding Tokens in a String): Document XPG basename() and dirname(), aswell as GNU...
Ulrich Drepper [Sat, 6 Jan 2001 23:27:53 +0000 (23:27 +0000)]
(Finding Tokens in a String): Document XPG basename() and dirname(), aswell as GNU basename().

23 years agoUpdate.
Ulrich Drepper [Sat, 6 Jan 2001 20:21:33 +0000 (20:21 +0000)]
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.

23 years agoFix matching of addresses.
Ulrich Drepper [Sat, 6 Jan 2001 19:29:33 +0000 (19:29 +0000)]
Fix matching of addresses.

23 years ago * configure.in: Check for old add-ons that shouldn't be used with ...
Andreas Jaeger [Sat, 6 Jan 2001 17:33:47 +0000 (17:33 +0000)]
    * 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.

23 years ago* sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number instead of -1...
Mark Kettenis [Sat, 6 Jan 2001 12:31:35 +0000 (12:31 +0000)]
* 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>

23 years ago* sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to copy st_atime member.
Mark Kettenis [Sat, 6 Jan 2001 01:52:03 +0000 (01:52 +0000)]
* 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.

23 years agoUpdate.
Ulrich Drepper [Fri, 5 Jan 2001 18:10:10 +0000 (18:10 +0000)]
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.

23 years agoUpdate.
Ulrich Drepper [Fri, 5 Jan 2001 16:27:04 +0000 (16:27 +0000)]
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.

23 years agoUpdate.
Ulrich Drepper [Fri, 5 Jan 2001 08:10:28 +0000 (08:10 +0000)]
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.

23 years agoUpdate
Ulrich Drepper [Fri, 5 Jan 2001 06:43:17 +0000 (06:43 +0000)]
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.

23 years agoUpdate.
Ulrich Drepper [Fri, 5 Jan 2001 06:18:46 +0000 (06:18 +0000)]
Update.

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

* intl/plural.y (yylex): Minimal improvement in number scanner.