Commit graph

4 commits

Author SHA1 Message Date
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 c768719df4 * sysdeps/mach/hurd/pread.c (__pread): Include <hurd/fd.h>. Fix typo.
* sysdeps/mach/hurd/pwrite.c (__pwrite): Include <hurd/fd.h>.
1999-07-20 21:19:03 +00:00
Roland McGrath 8b2134db5e 1999-06-23 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/mach/hurd/read.c (__libc_read): Just call __pread with
	OFFSET argument of (off_t) -1.
	* sysdeps/mach/hurd/write.c (__libc_write): Just call __pwrite with
	OFFSET argument of (off_t) -1.

	* sysdeps/mach/hurd/pwrite.c: New file.
	* sysdeps/mach/hurd/pread.c: New file.

	* hurd/fd-read.c (_hurd_fd_read): Take new parameter OFFSET and
	pass it in the RPC instead of always -1.
	* hurd/fd-write.c (_hurd_fd_write): Likewise.
	* hurd/hurd/fd.h: Update decls.
1999-06-22 23:56:08 +00:00