Commit Graph

8454 Commits

Author SHA1 Message Date
Ulrich Drepper 55544141b8 Update.
2002-04-05  Jakub Jelinek  <jakub@redhat.com>

	* time/mktime.c (__mktime_internal): Move check for year < 70 below
	all variable declarations.

2002-04-04  Andreas Schwab  <schwab@suse.de>

	* sysdeps/unix/sysv/linux/ia64/pipe.S: Don't overwrite r8 on error.

	* sysdeps/unix/sysv/linux/x86_64/time.c: Removed.
	* sysdeps/mips/dec/bits/endian.h: Removed since arch is not supported.
2002-04-05 16:53:00 +00:00
Ulrich Drepper cc49352eee Don't overwrite r8 on error. 2002-04-05 16:41:13 +00:00
Andreas Jaeger 2b90473904 Update.
2002-04-04  Andreas Jaeger  <aj@suse.de>

	* sysdeps/x86_64/fpu/e_sqrt.c: New file.
	* sysdeps/x86_64/fpu/e_sqrtf.c: New file.

	* sysdeps/x86_64/fpu/s_fabs.c: New file.
	* sysdeps/x86_64/fpu/s_fabsf.c: New file.
	* sysdeps/x86_64/fpu/s_fabsl.c: New file.

	* sysdeps/unix/sysv/linux/x86_64/time.S: New file.

	* sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: New file.

	* sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Removed.
	* sysdeps/unix/sysv/linux/x86_64/time.S: Removed.

	* configure.in: Handle all mips entries the same.

	* sysdeps/mips/dec/bits/endian.h: Removed since arch is not
	supported.
	* sysdeps/mips/mips3/*: Likewise.
	* sysdeps/mips/p40/bits/endian.h: Likewise.
2002-04-04 09:04:37 +00:00
Andreas Jaeger 7831dd492d Remove files. Use assembler implementation instead. 2002-04-04 08:42:21 +00:00
Ulrich Drepper d3d48616c1 Update.
2002-04-04  Ulrich Drepper  <drepper@redhat.com>

	* misc/dirname.c (dirname): Ignore trailing slashes at end of
	non-null result [PR libc/2600].

	* misc/tst-dirname.c: Add more tests.
2002-04-04 08:12:33 +00:00
Ulrich Drepper 4a10c7fec7 Update.
2002-04-03  Ulrich Drepper  <drepper@redhat.com>

	* locale/programs/charmap.c (charmap_read): If the charmap doesn't
	define a code_set_name provide one based on the filename.

	* malloc/hooks.c: Define weak_variable correctly for _LIBC.

2001-12-28  Andreas Jaeger  <aj@suse.de>

	* time/mktime.c (__mktime_internal): Check for year < 70
	[PR libc/2738].

	* sysdeps/generic/w_lgamma.c: Initialized local_signgam.
	* sysdeps/generic/w_lgammaf.c: Likewise.
	* sysdeps/generic/w_lgammal.c: Likewise [PR libc/2854].

	* debug/catchsegv.sh (exval): Quote [ in pattern [PR libc/2902].
	Adjust for new output format of the backtrace functions.

	* misc/syslog.c (vsyslog): Only use cleanup handler if
	_LIBC_REENTRANT is defined [PR libc/2924].

	* sysdeps/s390/s390-64/bits/byteswap.h: Likewise [PR libc/2757].
2002-04-04 05:10:14 +00:00
Ulrich Drepper 87c9379402 Update.
2002-04-03  Ulrich Drepper  <drepper@redhat.com>

	* locales/es_ES: Define int_frac_digits and frac_digits as 2.
2002-04-03 18:14:54 +00:00
Ulrich Drepper d1f6558b27 Define int_frac_digits and frac_digits as 2. 2002-04-03 18:13:46 +00:00
Andreas Jaeger efe860190e Update.
2002-04-03  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/linux/x86_64/syscalls.list: Fix arguments for
	shmat.
	Reported by Andi Kleen <ak@suse.de>.
2002-04-03 15:35:50 +00:00
Andreas Jaeger 242c63911c Fix arguments for shmat. 2002-04-03 15:33:29 +00:00
Ulrich Drepper 737fa90def Update.
* libio/Makefile (tests): Add bug-ungetwc2.
	* libio/bug-ungetwc2.c: New file.
2002-04-03 09:26:58 +00:00
Ulrich Drepper a4d6219571 Update.
* manual/install.texi: Typographical and grammatical cleanup.
	Patch by Dennis Grace <dgrace@us.ibm.com>.
2002-04-03 09:17:17 +00:00
Ulrich Drepper be916937c4 Update.
* sunrpc/rpc_svcout.c (write_real_program): Write "result, "
	parameter if mtflag.  Patch by <jeongyun@innovay.com>.

	* sysdeps/unix/sysv/linux/x86_64/swapcontext.S: New file.
	* sysdeps/unix/sysv/linux/x86_64/getcontext.S: New file.
	* sysdeps/unix/sysv/linux/x86_64/setcontext.S: New file.
	* sysdeps/unix/sysv/linux/x86_64/ucontext_i.h: New file.
2002-04-03 08:57:21 +00:00
Ulrich Drepper c64bd6c2f4 Update.
2002-04-03  Ulrich Drepper  <drepper@redhat.com>

	* sunrpc/rpc_svcout.c (printif): Remove third parameter.  It was
	always "&".  Adjust callers.
	Add "_" prefix to several generated definitions.
	Patch by paul@serice.net [PR libc/3158].
2002-04-03 08:31:07 +00:00
Ulrich Drepper b028b8ad4e Update.
* sysdeps/unix/sysv/linux/arm/dl-procinfo.c: Completely specify
	size of _dl_arm_cap_flags.
	Patch by enrico.scholz@informatik.tu-chemnitz.de [PR libc/3155].

	* sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
	Define as 8.

2002-03-22  H.J. Lu  <hjl@gnu.org>

	* scripts/firstversions.awk: Check the first version.

2002-04-02  Ulrich Drepper  <drepper@redhat.com>
2002-04-03 06:59:37 +00:00
Ulrich Drepper 8693ad52d9 Update.
* elf/dl-deps.c (_dl_map_object_deps): The sorting of the
	dependencies must be stable to work correctly.
	Reported by martin.lubich@datacon.at.
2002-04-03 06:18:49 +00:00
Ulrich Drepper 3384a8d67c Update.
* libio/bug-ungetwc1.c: New file.
	* libio/Makefile (tests): Add bug-ungetwc1.

	* libio/fileops.c (_IO_new_file_close_it): Only call _IO_do_flush
	if stream was last used for writing.
2002-04-03 05:18:32 +00:00
Ulrich Drepper 7a73a7e685 Update.
number [PR libc/3111].
2002-04-03 04:11:00 +00:00
Ulrich Drepper d2225273e8 Update.
* elf/do-lookup.h (do_lookup): 2 is the first user-defined version
	number.
2002-04-03 04:05:59 +00:00
Ulrich Drepper 44c4ccbcca Update.
2002-04-02  Ulrich Drepper  <drepper@redhat.com>

	* libio/iofclose.c (_IO_new_fclose): Move freeing of backup buffer
	to ...
	* libio/fileops.c (_IO_new_file_close_it): ...here [PR libc/3190].
2002-04-03 03:12:43 +00:00
Ulrich Drepper f7ddf3d3b7 Update.
2002-04-02  Jakub Jelinek  <jakub@redhat.com>

	* inet/ether_ntoh.c (__nss_ethers_lookup): Add internal_function.
	* inet/ether_hton.c (__nss_ethers_lookup): Likewise.
	* inet/getnetgrent_r.c (__nss_netgroup_lookup): Likewise.
	* sunrpc/netname.c (__nss_publickey_lookup): Likewise.
	* sunrpc/publickey.c (__nss_publickey_lookup): Likewise.

2002-03-30  Jakub Jelinek  <jakub@redhat.com>

	* elf/dynamic-link.h (elf_get_dynamic_info): Don't abort on unknown
	dynamic tags.

2002-03-29  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/i386/fpu/s_fabs.S: New file.
	* sysdeps/i386/fpu/s_fabsf.S: New file.
	* sysdeps/i386/fpu/s_fabsl.S: New file.
	* sysdeps/sparc/sparc64/fpu/s_fabs.c: New file.
	* sysdeps/sparc/sparc64/fpu/s_fabsf.c: New file.
	* sysdeps/sparc/sparc64/fpu/s_fabsl.c: New file.

2002-04-02  Ulrich Drepper  <drepper@redhat.com>

	* rt/tst-shm.c (do_test): Add one more test for size of shared
	memory object.

2002-03-29  Wolfram Gloger  <wg@malloc.de>

	* malloc/malloc.c: Add short description and prototypes for
	malloc_get_state, malloc_set_state and posix_memalign, for
	consistency and to avoid warnings with -Wstrict-prototypes.
	Reported by Andreas Jaeger <aj@suse.de>.

2002-04-02  Ulrich Drepper  <drepper@redhat.com>

	* po/gl.po: Update from translation team.
2002-04-03 00:36:12 +00:00
Ulrich Drepper 62097690c6 Update.
2002-04-02  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/ia64/pt-machine.h (MEMORY_BARRIER): Define.
2002-04-02 22:29:51 +00:00
Ulrich Drepper 5210321df8 (MEMORY_BARRIER): Define. 2002-04-02 22:28:27 +00:00
Roland McGrath db6b51ada7 * hurd/hurdselect.c (_hurd_select): Fix
MACH_MSG_TYPE_INTEGER_T -> integer_t in sizeof.
	Use a union rather than casts to compare mach_msg_type_t as int.

2002-03-25  Roland McGrath  <roland@frob.com>

	* hurd/hurdchdir.c (_hurd_change_directory_port_from_name): Don't
	check off the end of NAME when it's shorter than 2 chars.
	Reported by Ognyan Kulev <ogi@fmi.uni-sofia.bg>.

2002-03-17  Roland McGrath  <roland@frob.com>

	* sysdeps/mach/hurd/i386/sys/io.h: New file.
	* sysdeps/mach/hurd/i386/ioperm.c: New file.
	* sysdeps/mach/hurd/i386/Dist: Add them.
	* sysdeps/mach/hurd/i386/Versions
	(libc: GLIBC_2.2.6): New set, add ioperm.
	* sysdeps/mach/configure.in: New check to set HAVE_I386_IO_PERM_MODIFY.
	(mach_interface_list): Check for mach_i386.defs.
	* config.h.in (HAVE_I386_IO_PERM_MODIFY): #undef it.
	* sysdeps/mach/configure: Regenerated.
2002-04-02 04:43:06 +00:00
Roland McGrath 96c4df5055 2002-03-25 Roland McGrath <roland@frob.com>
* hurd/hurdchdir.c (_hurd_change_directory_port_from_name): Don't
	check off the end of NAME when it's shorter than 2 chars.
	Reported by Ognyan Kulev <ogi@fmi.uni-sofia.bg>.
2002-04-02 04:41:43 +00:00
Ulrich Drepper 435824beb3 Update.
2002-03-22  Ulrich Drepper  <drepper@redhat.com>

	* po/fr.po: Update from translation team.

2002-03-21  Martin Schwidefsky  <schwidefsky@de.ibm.com>

	* sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Remove
	getpriority from syscalls list.
2002-03-28 23:49:09 +00:00
Andreas Jaeger 3cf01adb39 Update.
2002-03-28  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/linux/x86_64/swapcontext.S: New.
	* sysdeps/unix/sysv/linux/x86_64/getcontext.S: New.
	* sysdeps/unix/sysv/linux/x86_64/setcontext.S: New.
	* sysdeps/unix/sysv/linux/x86_64/ucontext_i.h: New.
2002-03-28 19:07:58 +00:00
Andreas Jaeger 46a1b87510 Update.
2002-03-27  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (struct
	sigcontext): Follow further kernel change.

	* sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Follow further
	kernel change.

	* sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (GET_STACK):
	Change for struct sigcontext change.

	* sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump):
	Follow changes in struct sigcontext.

	* sysdeps/unix/sysv/linux/x86_64/syscalls.list: Remove ptrace
	sysycall, use wrapper instead.
2002-03-27 11:08:02 +00:00
Andreas Jaeger 49f8b030aa Update.
* sysdeps/i386/i486/bits/string.h (__memcpy_by4): Describe memory
	read and write accesses as detailed as possible.
	(__memcpy_by2): Likewise.
	(__memcpy_g): Likewise.
	(memmove): Likewise.
	(memcmp): Likewise.
	(__memset_ccn_by4): Likewise.
	(__memset_ccn_by2): Likewise.
	(__memset_gcn_by4): Likewise.
	(__memset_gcn_by2): Likewise.
	(memchr): Likewise.
	(__memrchr): Likewise.
	(rawmemchr): Likewise.
	(__strlen_g): Likewise.
	(__strcpy_g): Likewise.
	(__mempcpy_by4): Likewise.
	(__mempcpy_by2): Likewise.
	(__mempcpy_byn): Likewise.
	(__stpcpy_g): Likewise.
	(__strncpy_by4): Likewise.
	(__strncpy_by2): Likewise.
	(__strncpy_byn): Likewise.
	(__strncpy_gg): Likewise.
	(__strcat_c): Likewise.
	(__strcat_g): Likewise.
	(__strncat_g): Likewise.
	(__strcmp_gg): Likewise.
	(__strncmp_g): Likewise.
	(__strchr_c): Likewise.
	(__strchr_g): Likewise.
	(__strchrnul_c): Likewise.
	(__strchrnul_g): Likewise.
	(__strrchr_c): Likewise.
	(__strrchr_g): Likewise.
	(__strrchr_c): Likewise.
	(__strrchr_g): Likewise.
	(__strcspn_c1): Likewise.
	(__strcspn_cg): Likewise.
	(__strcspn_g): Likewise.
	(__strcspn_g): Likewise.
	(__strspn_c1): Likewise.
	(__strspn_cg): Likewise.
	(__strspn_g): Likewise.
	(__strspn_g): Likewise.
	(__strpbrk_cg): Likewise.
	(__strpbrk_g): Likewise.
	(__strstr_cg): Likewise.
	(__strstr_g): Likewise.
2002-03-26 19:45:43 +00:00
Andreas Jaeger 79468ba882 Update.
* sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Fix typo.  Reported by
	Michal Ludvig <mludvig@suse.cz>.
2002-03-26 16:52:39 +00:00
Andreas Jaeger 30ee7c7be0 Update.
2002-03-26  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Add 32-bit
	compatibilty, adjust for kernel changes.

	* sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (struct
	sigcontext): Adjust for kernel changes.
2002-03-26 12:38:27 +00:00
Andreas Jaeger 367b07fbae Update.
2002-03-25  Andreas Jaeger  <aj@suse.de>

	* iconv/gconv_simple.c (ucs4le_internal_loop_single): Handle
	little endian.
	Reported by Artur Zaprzala <zybi@talex.com.pl>.
2002-03-25 17:07:27 +00:00
Andreas Jaeger 9ea2c1941c (ucs4le_internal_loop_single): Handle little endian. 2002-03-25 17:07:14 +00:00
Roland McGrath 52755fadf7 Fix bogus regeneration. 2002-03-24 22:43:02 +00:00
Andreas Jaeger 8430ab40fb Update.
2002-03-24  Andreas Jaeger  <aj@suse.de>

	* manual/memory.texi (Aligned Memory Blocks): Fix typo.

	* stdio-common/tst-fdopen.c (main): Remove unused variable.

	* iconv/tst-iconv3.c (main): Use correct printf strings.
2002-03-24 13:03:01 +00:00
Andreas Jaeger 671972156a (Aligned Memory Blocks): Fix typo. 2002-03-24 12:58:23 +00:00
Roland McGrath 4e6117f399 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (struct cmsgcred): New type.
(CMGROUP_MAX): New macro.
2002-03-24 03:44:57 +00:00
Roland McGrath 4caf4f3c25 * sysdeps/posix/shm_open.c (SHMDIR): /var/run/shm -> /dev/shm
* sysdeps/posix/shm_unlink.c: Likewise.
2002-03-24 02:05:40 +00:00
Roland McGrath b2b1c59383 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu.*): Make 2.2.6 default.
* sysdeps/mach/hurd/configure.in: Default oldest ABI is 2.2.6
	under --enable-libio.
	* sysdeps/mach/hurd/configure: Regenerated.
2002-03-24 01:59:44 +00:00
Roland McGrath 67a6c02f1a * sysdeps/mach/hurd/i386/Makefile
(sysdep_routines, shared-only-routines): Don't add framestate,
	reverting 2001-10-02 change.
	* sysdeps/unix/sysv/linux/arm/Makefile: Likewise.
	* sysdeps/unix/sysv/linux/alpha/Makefile: Likewise.
	* sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
	* sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
	* sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise.
	* sysdeps/unix/sysv/linux/sparc/Makefile: Likewise.
	* sysdeps/generic/Makefile (sysdep_routines, shared-only-routines):
	Do it here instead, only if [$(unwind-find-fde) = yes].
2002-03-24 01:56:33 +00:00
Roland McGrath 971174429d 2002-03-23 Roland McGrath <roland@frob.com>
* sysdeps/mach/hurd/i386/Makefile
	(sysdep_routines, shared-only-routines): Don't add framestate,
	reverting 2001-10-02 change.
	* sysdeps/unix/sysv/linux/arm/Makefile: Likewise.
	* sysdeps/unix/sysv/linux/alpha/Makefile: Likewise.
	* sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
	* sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
	* sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise.
	* sysdeps/unix/sysv/linux/sparc/Makefile: Likewise.
	* sysdeps/generic/Makefile (sysdep_routines, shared-only-routines):
	Do it here instead, only if [$(unwind-find-fde) = yes].
2002-03-24 01:55:18 +00:00
Andreas Jaeger 7bae44c46f Update.
2002-03-23  Andreas Jaeger  <aj@suse.de>

	* signal/signal.h: Fix typo. Patch by Steve Kemp
	<skx@tardis.ed.ac.uk>.
2002-03-23 18:59:09 +00:00
Andreas Jaeger 0f8a3e9555 Update
* sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add getresgid and
	getresuid.

	_fpstate): Rename fwd to ftw, use _fpxreg and _xmmreg.
	* sysdeps/unix/sysv/linux/x86_64/sys/user.h (struct
	user_fpregs_struct): Rename fwd.
2002-03-22 12:59:21 +00:00
Andreas Jaeger 904e1ba99d Update
* sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (struct
	_fpstate): Rename fwd to ftw.
	* sysdeps/unix/sysv/linux/x86_64/sys/user.h (struct user_fpregs_struct): Likewise.

	* sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump):
	Follow sigcontext changes.

2002-03-22  Andreas Jaeger  <aj@suse.de>
2002-03-22 12:17:21 +00:00
Andreas Jaeger b2518ac295 Update.
2002-03-22  Andreas Jaeger  <aj@suse.de>

	* sysdeps/mips/bits/nan.h: New file.  Copy from generic one with
	changes for NaNs on MIPS.
	Patch by Hartvig Ekner <hartvige@mips.com>.
2002-03-22 10:09:55 +00:00
Ulrich Drepper eab0f04c47 (Aligned Memory Blocks): Correct description of where memalign is declared [PR libc/3127]. 2002-03-22 09:39:21 +00:00
Ulrich Drepper fbaee91d72 Update.
2002-03-22  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/mips/pt-machine.h (MEMORY_BARRIER): Remove.
2002-03-22 08:40:35 +00:00
Ulrich Drepper 32fe4a9320 Update.
2002-03-22  Ulrich Drepper  <drepper@redhat.com>

	* internals.h (MEMORY_BARRIER): Define as asm with memory as clobber.
2002-03-22 08:29:10 +00:00
Ulrich Drepper c7a9b6e2d3 Update.
2002-03-21  Ulrich Drepper  <drepper@redhat.com>

	* nscd/grpcache.c (addgrbyname): Improve buffer allocate with alloca.
	Use realloc if too large.
	(addgrbyid): Likewise.
	* nscd/hstcache.c (addhstbyname): Likewise.
	(addhstbyaddr): Likewise.
	(addhstbynamev6): Likewise.
	(addhstbyaddrv6): Likewise.
	* nscd/pwdcache.c (addpwbyname): Likewise.
	(addpwbyuid): Likewise.
2002-03-22 07:17:03 +00:00
Ulrich Drepper 0472723ab8 (addgrbyname): Improve buffer allocate with alloca. Use realloc if too large. (addgrbyid): Likewise. 2002-03-22 07:03:30 +00:00