]> git.ipfire.org Git - thirdparty/glibc.git/commit
Linux: Fix fcntl, ioctl, prctl redirects for _TIME_BITS=64 (bug 28182)
authorFlorian Weimer <fweimer@redhat.com>
Fri, 6 Aug 2021 07:51:38 +0000 (09:51 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Fri, 6 Aug 2021 07:52:00 +0000 (09:52 +0200)
commitc87fcacc50505d550f1bb038382bcc7ea73a5926
treed14fd134913f22cf9ec2f9023fe5fed57fbcfe8b
parentfb89489636766532902d4a02a08dbb72efed4faf
Linux: Fix fcntl, ioctl, prctl redirects for _TIME_BITS=64 (bug 28182)

__REDIRECT and __THROW are not compatible with C++ due to the ordering of the
__asm__ alias and the throw specifier. __REDIRECT_NTH has to be used
instead.

Fixes commit 8a40aff86ba5f64a3a84883e539cb67b ("io: Add time64 alias
for fcntl"), commit 82c395d91ea4f69120d453aeec398e30 ("misc: Add
time64 alias for ioctl"), commit b39ffab860cd743a82c91946619f1b8158
("Linux: Add time64 alias for prctl").

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
io/fcntl.h
misc/sys/ioctl.h
sysdeps/unix/sysv/linux/sys/prctl.h