hurd 64bit: Fix flock fields types
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Mon, 1 May 2023 12:35:32 +0000 (14:35 +0200)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Mon, 1 May 2023 13:05:09 +0000 (15:05 +0200)
commitd5e2f9eaf7384ebf8f09831eb9fa15dad2ecf2c3
treececa57c0a4984904d040f111eecc3b4f7328e3a2
parent90604f670c1074bc9e4c25f8f2ef9d358823d77b
hurd 64bit: Fix flock fields types

The standards want l_type and l_whence to be short ints, see BZ 23081.

We can leave them ints on i386 for ABI compatibility, but avoid hitting the
issue on 64bit.
sysdeps/mach/hurd/Makefile
sysdeps/mach/hurd/bits/fcntl.h
sysdeps/mach/hurd/bits/types/struct_flock.h [new file with mode: 0644]
sysdeps/mach/hurd/i386/bits/types/struct_flock.h [new file with mode: 0644]