git-fcntl64
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Sat, 29 Jun 2024 10:27:34 +0000 (13:27 +0300)
committerAdrian Bunk <bunk@debian.org>
Sat, 29 Jun 2024 10:27:34 +0000 (13:27 +0300)
commit1f642e9dc38d5dd62f5bb23cfd0df81eb28b4931
treed65e482534f61deddbb666743d7239151139cb31
parenta5710bfe840767e7c72e65dbcbd2081d9e510df7
git-fcntl64

commit 346ef23f197a0c8ba807c344bd39101b711050ee
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Thu Nov 15 00:52:36 2018 +0100

    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.

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-fcntl64.diff
sysdeps/mach/hurd/Makefile
sysdeps/mach/hurd/bits/fcntl.h
sysdeps/mach/hurd/f_setlk.c [new file with mode: 0644]
sysdeps/mach/hurd/f_setlk.h [new file with mode: 0644]
sysdeps/mach/hurd/fcntl.c
sysdeps/mach/hurd/fcntl64.c [new file with mode: 0644]