Commit Graph

6349 Commits

Author SHA1 Message Date
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
Ulrich Drepper
26169cba35 Remove definition of off_t. 2001-01-11 17:23:27 +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
Andreas Jaeger
aa2f198841 * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
<mkuhn@acm.org>.
2001-01-11 16:30:08 +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
Ulrich Drepper
411dccadb4 (preprocess-version): Replace -traditional with -x assembler-with-cpp. 2001-01-07 00:37: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
ec28fc7c4f (Finding Tokens in a String): Document XPG basename() and dirname(), aswell as GNU basename(). 2001-01-06 23:27:53 +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
Ulrich Drepper
e1fa173022 Fix matching of addresses. 2001-01-06 19:29: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