glibc/sysdeps/mach/hurd/bits
Samuel Thibault 346ef23f19 hurd: Fix F_*LK* fcntl with __USE_FILE_OFFSET64
struct flock64 uses 64bit values. This introduces other values for F_GETLK,
F_SETLK, F_SETLKW to distinguish between both.

	* sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
	macros
	[__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
	F_SETLK64, F_SETLKW64, respectively.
	* sysdeps/mach/hurd/f_setlk.c: New file.
	* sysdeps/mach/hurd/f_setlk.h: New file.
	* sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
	f_setlk.
	* sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
	(__libc_fcntl): Move non-flock operations to...
	* sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
	* sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
2018-11-16 09:41:05 +01:00
..
types Separate out error_t definition 2018-03-04 17:27:58 +01:00
errno.h hurd: Fix errno* generation 2018-10-31 10:32:39 +01:00
fcntl.h hurd: Fix F_*LK* fcntl with __USE_FILE_OFFSET64 2018-11-16 09:41:05 +01:00
ioctls.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
local_lim.h hurd: Advertise libpthread 2018-04-02 01:57:47 +02:00
param.h hurd: Move mach/param.h to bits/mach/param.h 2018-03-04 00:42:20 +01:00
posix_opt.h hurd: Advertise libpthread 2018-04-02 01:57:47 +02:00
socket.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
stat.h hurd: Fix exposition of UTIME_NOW, UTIME_OMIT 2018-04-02 17:07:11 +02:00
statfs.h hurd: Update struct statfs according to struct statvfs 2018-04-19 02:25:03 +02:00
statvfs.h hurd: Fix standard compliance of some statvfs fields 2018-04-19 02:05:54 +02:00
sysmacros.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
typesizes.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00