Commit Graph

7215 Commits

Author SHA1 Message Date
Roland McGrath 5fe915ee12 * hurd/Makefile (routines): Add lookup-retry.
* hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Broken out ...
	* hurd/lookup-retry.c: ... into here, new file.
	* sysdeps/mach/hurd/dl-sysdep.c (open_file): Call that instead
	using of duplicate code here.

	* hurd/hurdexec.c (_hurd_exec): Be robust for DTABLESIZE==0.

	* posix/regex.c: Avoid an access violation if malloc fails.
2001-06-17 21:09:28 +00:00
Roland McGrath 21bc421fb0 2001-06-16 Roland McGrath <roland@frob.com>
* hurd/hurdexec.c (_hurd_exec): Be robust for DTABLESIZE==0.
2001-06-17 21:08:08 +00:00
Ulrich Drepper 5b60c9fcea Update.
2001-06-17  Ulrich Drepper  <drepper@redhat.com>

	* po/ja.po: Update from translation team.
2001-06-17 16:52:21 +00:00
Ulrich Drepper 2879ae4ab0 Update.
2001-06-16  H.J. Lu  <hjl@gnu.org>

	* internals.h: Include <stackinfo.h>.

	* attr.c: Don't include <stackinfo.h> here.
	* cancel.c: Likewise.
	* manager.c: Likewise.
	* pthread.c: Likewise.
	* ptlongjmp.c: Likewise.
2001-06-17 02:19:25 +00:00
Ulrich Drepper aac0e8c4e8 Update.
2001-06-04  Bruno Haible  <haible@clisp.cons.org>

	* locale/programs/locfile.c (siblings_uncached, siblings, full_read,
	compare_files): New functions.
	(write_locale_data): Use xmalloc. Compare the file with the locale
	data files for the same category in other locales, and reuse it if
	possible and safe.
2001-06-17 00:43:42 +00:00
Ulrich Drepper 8fee1bb0b2 Update.
2001-06-07  Mark Kettenis  <kettenis@gnu.org>

	* grp/initgroups.c (initgroups): Factor out re-usable code into...
	(internal_getgrouplist): ... new function.
	(getgrouplist): New function.
	* grp/grp.h (getgrouplist): New prototype.
	* grp/Versions [2.2.4]: Add getgrouplist.

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

	* inet/netinet/ip6.h: Fix comments in ip6_hdr.
	Patch by Pekka Savola <pekkas@netcore.fi>.
2001-06-16 19:50:36 +00:00
Ulrich Drepper cc765c2a2e Make _STACK_GROWS_UP work. 2001-06-16 18:47:49 +00:00
Roland McGrath 81dacf8ac4 * rt/Makefile (aio-routines, clock-routines, timer-routines): New
variables, broken out of librt-routines.
	(librt-routines): Set using those.
	(extra-libs, extra-libc-others, tests): Set these unconditionally.
	(distribute): No need for $(librt-map) or $(librt-routines:=.c) here.
	* sysdeps/generic/aio_fsync.c: New file.
	* sysdeps/generic/aio_misc.c: New file.
	* sysdeps/generic/aio_write.c: New file.
	* sysdeps/generic/aio_write64.c: New file.
	* sysdeps/generic/aio_read64.c: New file.
	* sysdeps/generic/aio_read.c: New file.
	* sysdeps/generic/aio_notify.c: New file.
	* sysdeps/generic/lio_listio64.c: New file.
	* sysdeps/generic/lio_listio.c: New file.
	* sysdeps/generic/aio_cancel.c: New file.
	* sysdeps/generic/aio_misc.h: New file.
	* sysdeps/generic/aio_suspend.c: New file.
	* rt/aio_cancel.c: Moved to ...
	* sysdeps/pthread/aio_cancel.c: ... here.
	* rt/aio_fsync.c: Moved to ...
	* sysdeps/pthread/aio_fsync.c: ... here.
	* rt/aio_misc.c: Moved to ...
	* sysdeps/pthread/aio_misc.c: ... here.
	* rt/aio_misc.h: Moved to ...
	* sysdeps/pthread/aio_misc.h: ... here.
	* rt/aio_notify.c: Moved to ...
	* sysdeps/pthread/aio_notify.c: ... here.
	* rt/aio_read.c: Moved to ...
	* sysdeps/pthread/aio_read.c: ... here.
	* rt/aio_read64.c: Moved to ...
	* sysdeps/pthread/aio_read64.c: ... here.
	* rt/aio_suspend.c: Moved to ...
	* sysdeps/pthread/aio_suspend.c: ... here.
	* rt/aio_write.c: Moved to ...
	* sysdeps/pthread/aio_write.c: ... here.
	* rt/aio_write64.c: Moved to ...
	* sysdeps/pthread/aio_write64.c: ... here.
	* rt/lio_listio.c: Moved to ...
	* sysdeps/pthread/lio_listio.c: ... here.
	* rt/lio_listio64.c: Moved to ...
	* sysdeps/pthread/lio_listio64.c: ... here.
2001-06-16 04:48:42 +00:00
Roland McGrath 5ec73bb91f 2001-06-15 Roland McGrath <roland@frob.com>
* rt/Makefile (aio-routines, clock-routines, timer-routines): New
	variables, broken out of librt-routines.
	(librt-routines): Set using those.
	(extra-libs, extra-libc-others, tests): Set these unconditionally.
	(distribute): No need for $(librt-map) or $(librt-routines:=.c) here.
	* sysdeps/generic/aio_fsync.c: New file.
	* sysdeps/generic/aio_misc.c: New file.
	* sysdeps/generic/aio_write.c: New file.
	* sysdeps/generic/aio_write64.c: New file.
	* sysdeps/generic/aio_read64.c: New file.
	* sysdeps/generic/aio_read.c: New file.
	* sysdeps/generic/aio_notify.c: New file.
	* sysdeps/generic/lio_listio64.c: New file.
	* sysdeps/generic/lio_listio.c: New file.
	* sysdeps/generic/aio_cancel.c: New file.
	* sysdeps/generic/aio_misc.h: New file.
	* sysdeps/generic/aio_suspend.c: New file.
	* rt/aio_cancel.c: Moved to ...
	* sysdeps/pthread/aio_cancel.c: ... here.
	* rt/aio_fsync.c: Moved to ...
	* sysdeps/pthread/aio_fsync.c: ... here.
	* rt/aio_misc.c: Moved to ...
	* sysdeps/pthread/aio_misc.c: ... here.
	* rt/aio_misc.h: Moved to ...
	* sysdeps/pthread/aio_misc.h: ... here.
	* rt/aio_notify.c: Moved to ...
	* sysdeps/pthread/aio_notify.c: ... here.
	* rt/aio_read.c: Moved to ...
	* sysdeps/pthread/aio_read.c: ... here.
	* rt/aio_read64.c: Moved to ...
	* sysdeps/pthread/aio_read64.c: ... here.
	* rt/aio_suspend.c: Moved to ...
	* sysdeps/pthread/aio_suspend.c: ... here.
	* rt/aio_write.c: Moved to ...
	* sysdeps/pthread/aio_write.c: ... here.
	* rt/aio_write64.c: Moved to ...
	* sysdeps/pthread/aio_write64.c: ... here.
	* rt/lio_listio.c: Moved to ...
	* sysdeps/pthread/lio_listio.c: ... here.
	* rt/lio_listio64.c: Moved to ...
	* sysdeps/pthread/lio_listio64.c: ... here.
2001-06-16 04:47:37 +00:00
Ulrich Drepper 636ccfc8fb Update.
2001-06-14  Roland McGrath  <roland@frob.com>

	* configure.in: Let sysdeps Implies files in add-ons bring in
	sysdeps directories from the main source and other add-ons too.

2001-06-15  Jakub Jelinek  <jakub@redhat.com>

	* math/test-misc.c (main): Add tests for nextafter and nexttoward
	with +-Inf as second argument.

	* sysdeps/generic/s_nexttowardf.c (__nexttowardf): Only check for
	NaN, not Inf.
	* sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Fix check for NaN.
	* sysdeps/i386/fpu/s_nexttoward.c: New.
	* sysdeps/i386/fpu/s_nexttowardf.c: New.
	* sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Simplify
	check for NaN, optimize x==+-0 handling.
	* sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf): Likewise.
	* sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Simplify
	check for NaN, fix sign in x==+-0 case.
	* sysdeps/ia64/fpu/s_nexttoward.c: New.
	* sysdeps/ia64/fpu/s_nexttowardf.c: New.

2001-06-15  H.J. Lu  <hjl@gnu.org>

	* rt/tst-aio2.c (do_test): Initialize cb.aio_offset to 0.
	* rt/tst-aio3.c (do_test): Likewise.
	* rt/tst-aio4.c (do_test): Likewise.
	* rt/tst-aio5.c (do_test): Likewise.
	* rt/tst-aio6.c (do_test): Likewise.
2001-06-16 04:34:51 +00:00
Ulrich Drepper 2e92fd3ce2 Update.
2001-06-15  H.J. Lu  <hjl@gnu.org>

	* pthread.c (__pthread_reset_main_thread): Fix a typo.
2001-06-16 02:53:53 +00:00
Ulrich Drepper 6f70c24ccb (__pthread_reset_main_thread): Fix a typo. 2001-06-16 02:53:06 +00:00
Andreas Schwab 08003272b8 * sysdeps/m68k/fpu/bits/mathinline.h: Don't define log2 as inline.
* sysdeps/m68k/fpu/mathimpl.h: Define __ieee754_log2 as inline.
2001-06-15 13:59:57 +00:00
Andreas Schwab c1bbb195df * sysdeps/m68k/fpu/bits/mathinline.h: Don't define log2 as inline.
* sysdeps/m68k/fpu/mathimpl.h: Define __ieee754_log2 as inline.
2001-06-15 13:59:28 +00:00
Andreas Jaeger 6a9a03d69c * gmon/tst-sprofil.c (fac): Make static to avoid compiler warning. 2001-06-15 08:56:36 +00:00
Andreas Jaeger 7d281611a3 (fac): Make static to avoid compiler warning. 2001-06-15 08:56:10 +00:00
Andreas Schwab 0f843f8938 * elf/ldconfig.c (search_dir): Fix check for regular file. 2001-06-14 14:43:23 +00:00
Andreas Schwab 53483036b9 * sysdeps/m68k/fpu/e_log2f.c: Fix typo.
* sysdeps/m68k/fpu/e_log2l.c: Fix typo.

	* sysdeps/m68k/fpu/s_log2.c: Move...
	* sysdeps/m68k/fpu/e_log2.c: ...to here. Rename to __ieee754_log2.
	* sysdeps/m68k/fpu/s_log2f.c: Move...
	* sysdeps/m68k/fpu/e_log2f.c: ...to here. Rename to __ieee754_log2f.
	* sysdeps/m68k/fpu/s_log2l.c: Move...
	* sysdeps/m68k/fpu/e_log2l.c: ...to here. Rename to __ieee754_log2l.
2001-06-14 14:18:56 +00:00
Andreas Schwab 369bd2c0be Fix typo. 2001-06-14 14:17:49 +00:00
Roland McGrath eeeeed6a56 * sysdeps/mach/hurd/bits/fcntl.h [ __USE_POSIX199309 || __USE_UNIX98]:
(O_DSYNC, O_RSYNC): New macros, both defined to O_SYNC as Linux does.
2001-06-14 10:06:07 +00:00
Roland McGrath 3de5235f0f * rt/aio_notify.c: Include <unistd.h> for _POSIX_REALTIME_SIGNALS. 2001-06-14 05:37:03 +00:00
Roland McGrath 221dc560bb * sysdeps/mach/hurd/fork.c (LOSE): Put `goto lose' in dead code
so the label is not considered unused.

	* sysdeps/mach/hurd/pwrite64.c: New file.
	* sysdeps/mach/hurd/pread64.c: New file.

	* sysdeps/mach/hurd/pread.c
	(__libc_pread): Define this name, with __pread as an alias.
	* sysdeps/mach/hurd/pwrite.c
	(__libc_pwrite): Define this name, with __pwrite as an alias.

	Implement POSIX "shared memory objects" as regular
	files residing in the /var/run/shm/ directory.
	This works on any system that supports _POSIX_MAPPED_FILES,
	to make it also support _POSIX_SHARED_MEMORY_OBJECTS.
	* sysdeps/posix/shm_open.c: New file.
	* sysdeps/posix/shm_unlink.c: New file.
	* sysdeps/mach/hurd/bits/posix_opt.h
	(_POSIX_SHARED_MEMORY_OBJECTS): Define it.

	* rt/aio_notify.c (__aio_notify_only) [! _POSIX_REALTIME_SIGNALS]:
	Use raise instead of __aio_sigqueue.
2001-06-14 05:32:26 +00:00
Roland McGrath c0c71388a7 * sysdeps/mach/hurd/pread.c: Fail with EINVAL if OFFSET is negative.
* sysdeps/mach/hurd/pwrite.c: Likewise.

	* shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu.*): libc=0.3
	[USE_IN_LIBIO && !GLIBC_OLDEST_ABI] (.*-.*-gnu-gnu.*): Use GLIBC_2.2.4
	as default version set.

	(test_ftello): Check for EFBIG and ENOSPC, clean up error messages.
2001-06-14 03:02:30 +00:00
Roland McGrath e418753ce9 2001-06-13 Roland McGrath <roland@frob.com>
* shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu.*): libc=0.3
	[USE_IN_LIBIO && !GLIBC_OLDEST_ABI] (.*-.*-gnu-gnu.*): Use GLIBC_2.2.4
	as default version set.
2001-06-14 03:01:06 +00:00
Ulrich Drepper 6999d70e2f Update.
* libio/iolibio.h (_IO_freopen): Correct last parameter to
	_IO_file_open.
	(_IO_freopen64): Likewise.
	Reported by simanek@quantum.karlov.mff.cuni.cz [PR libc/2326].

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

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

	* intl/dcigettext.c (DCIGETTEXT): Release the lock before returning.

2001-06-09  Ben Collins  <bcollins@debian.org>

	* sysdeps/unix/sysv/linux/bits/termios.h: Define __MAX_BAUD.
	* sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
	* sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
	* sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
	* sysdeps/unix/sysv/linux/speed.c: Use __MAX_BAUD instead of
	hardcoded B400000.

2001-06-13  Ulrich Drepper  <drepper@redhat.com>
2001-06-14 00:45:57 +00:00
Ulrich Drepper d002205fd2 Update.
2001-06-13  Ulrich Drepper  <drepper@redhat.com>

	* time/sys/time.h: Don't use enum __itimer_which ever for
	__itimer_which_t for C++.
	Reported by Martin Buchholz <martin@xemacs.org>.

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

2001-06-12  H.J. Lu  <hjl@gnu.org>
2001-06-11  Michael Deutschmann  <michael@talamasca.ocis.net>
	    Michael Deutschmann  <michael@talamasca.ocis.net>
2001-06-13 23:21:54 +00:00
Ulrich Drepper bad6065c97 * semaphore.h: Use struct _pthread_fastlock as an element of
sem_t instead of an identical struct.
	* rwlock.c: Remove casts.
	* semaphore.c: Likewise.
2001-06-13 23:12:19 +00:00
Ulrich Drepper b50a2c3f96 Update from translation team. 2001-06-13 21:50:57 +00:00
Andreas Jaeger 6b4e880fc5 * configure.in: Fix typos in missing program names.
* configure: Regenerated.
2001-06-12  H.J. Lu <hjl@gnu.org>

	* configure.in: Fix typos in missing program names.
	* configure: Regenerated.
2001-06-13 08:05:28 +00:00
Andreas Jaeger a29a3e1a80 Update.
* iconvdata/tst-table-to.c: Include string.h for strcmp prototype.
2001-06-12 14:46:25 +00:00
Andreas Jaeger f280b985f2 Update.
2001-06-12  Andreas Jaeger  <aj@suse.de>

	* sysdeps/sparc/sparc32/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).

	* sysdeps/ieee754/ldbl-128/e_coshl.c: New file.  Contributed by
2001-06-11  Andreas Jaeger  <aj@suse.de>,
2001-06-12 09:15:39 +00:00
Andreas Jaeger 310d7dd634 Add ULPs for tanh (-0.7). 2001-06-12 09:15:06 +00:00
Ulrich Drepper 3d40e7cabb Regenerated: autoconf sysdeps/generic/configure.in 2001-06-12 00:57:28 +00:00
Ulrich Drepper 6633399aec Regenerated: autoconf sysdeps/unix/common/configure.in 2001-06-12 00:57:11 +00:00
Andreas Jaeger 92ec5b31c6 Update.
2001-06-11  Andreas Jaeger  <aj@suse.de>

	* sysdeps/ieee754/ldbl-128/e_coshl.c: New file.  Contributed by 
	Stephen L Moshier <moshier@mediaone.net>.

	* aclocal.m4: Quote AC_FD_MSG and AC_FD_CC.

	* sysdeps/powerpc/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
	* sysdeps/s390/fpu/libm-test-ulps: Likewise.
2001-06-11 12:32:56 +00:00
Andreas Jaeger 207390f763 Update.
2001-06-11  Michael Deutschmann <michael@talamasca.ocis.net>

	* rt/tst-aio4.c (do_test): Test whether rt signals are supported.
	Use my_signo instead of MY_SIGNO and initialize it so that the
	used signal is always available.

2001-06-11  Andreas Jaeger  <aj@suse.de>, 
	    Michael Deutschmann <michael@talamasca.ocis.net>

	* io/test-lfs.c (do_prepare): Clean up error messages.
	(test_ftello): Check for EFBIG and ENOSP, clean up error messages.
	(do_test): Likewise.

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

	* sysdeps/unix/sysv/linux/powerpc/bits/termios.h (IXANY, IUCLC,
	IMAXBEL): Make always visible since they're needed by POSIX.
	Closes PR libc/2320, reported by Chris Yeoh <cyeoh@samba.org>.

2001-06-10  Ben Collins  <bcollins@debian.org>

	* sysdeps/arm/elf/start.S: Use #function, not @function, for
	.type of _start.

	* sysdeps/ieee754/ldbl-128/s_ilogbl.c: Include limits.h to get
	INT_MAX.

2001-06-07  H.J. Lu  <hjl@gnu.org>

	* sunrpc/rpc/rpc.h: Add __BEGIN_DECLS/__END_DECLS.
2001-06-11 08:43:24 +00:00
Andreas Jaeger a854060c51 Add __BEGIN_DECLS/__END_DECLS. 2001-06-11 07:41:59 +00:00
Roland McGrath 0aaa9c6a74 * elf/reldep4mod2.c: Use fully typed decls to avoid warnings.
* elf/reldep4mod4.c: Likewise.
2001-06-10 23:07:15 +00:00
Roland McGrath 563e3528e5 2001-06-10 Roland McGrath <roland@frob.com>
* elf/reldep4mod2.c: Use fully typed decls to avoid warnings.
	* elf/reldep4mod4.c: Likewise.
2001-06-10 23:06:25 +00:00
Mark Kettenis fecb794f59 * hurd/hurd/threadvar.h: Add prototype for __hurd_errno_location.
2001-06-10  Mark Kettenis  <kettenis@gnu.org>

	* hurd/hurd/threadvar.h: Add prototype for __hurd_errno_location.
2001-06-10 21:05:36 +00:00
Ulrich Drepper e10a9ebaa6 Update.
2001-06-08  Andreas Schwab  <schwab@suse.de>

	* posix/regex.c (re_match_2_internal) [case wordbeg, wordend]:
	Don't dereference at end of string.
2001-06-10 06:51:02 +00:00
Ulrich Drepper 582e776ffc Update.
* charmaps/GB18030: Update for Unicode 3.1: Add <U03F4>..<U03F5>. Use
	full Hangul syllable names. Add Unicode planes 1 (scripts, symbols),
	2 (CJK), 14 (tags), 15 and 16 (private use). Update width table.
	Assign width 1 to <U3008>, <U3009>, <U3014>, <U3015>, <U3018>, <U3019>.

2001-05-29  Bruno Haible  <haible@clisp.cons.org>
2001-06-09 23:12:08 +00:00
Ulrich Drepper 0bc9ba69ff Update for Unicode 3.1: Add <U03F4>..<U03F5>. Use full Hangul syllable names. Add Unicode planes 1 (scripts, symbols), 2 (CJK), 14 (tags), 15 and 16 (private use). Update width table. Assign width 1 to <U3008>, <U3009>, <U3014>, <U3015>, <U3018>, <U3019>. 2001-06-09 22:55:05 +00:00
Andreas Jaeger e856b72d3e New HPPA Linux version of pt-initfini.
2001-04-30  Alan Modra  <amodra@one.net.au>

	* sysdeps/unix/sysv/linux/hppa/pt-initfini.c: New.
2001-06-07 07:28:55 +00:00
Roland McGrath b381189e67 * sysdeps/mach/hurd/getsockopt.c: Fix handling of returned buffer size.
From Robert Bihlmeyer <robbe@orcus.priv.at>.
2001-06-07 03:36:34 +00:00
Roland McGrath d652f6b8cb 2001-06-06 Roland McGrath <roland@frob.com>
* sysdeps/mach/hurd/getsockopt.c: Fix handling of returned buffer size.
	From Robert Bihlmeyer <robbe@orcus.priv.at>.
2001-06-07 03:35:22 +00:00
Ulrich Drepper eb12749a92 Update.
2001-06-06  Ulrich Drepper  <drepper@redhat.com>

	* po/ko.po: Update from translation team.
2001-06-07 00:00:29 +00:00
Ulrich Drepper 4f2a5db013 Update from translation team. 2001-06-06 23:59:37 +00:00
Andreas Jaeger b73147d0eb Update.
2001-06-06  Andreas Jaeger  <aj@suse.de>

	* manual/llio.texi (Memory-mapped I/O): Clarify that mapping is to
	offset+length-1.
	Reported by Robert Bernecky <bernecky@acm.org>.
2001-06-06 19:02:01 +00:00
Andreas Jaeger d1cf3e7172 Update.
2001-06-06  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/cris/elf/start.S: Fix a typo introduced by last patch.
	* sysdeps/ia64/elf/start.S: Likewise.
	* sysdeps/sh/elf/start.S: Likewise.
	* sysdeps/s390/s390-32/elf/start.S: Likewise.
	* sysdeps/s390/s390-64/elf/start.S: Likewise.
2001-06-06 18:02:19 +00:00