summaryrefslogtreecommitdiff
path: root/doc/apt-cdrom.8.xml
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2017-02-11 22:17:08 +0100
committerJulian Andres Klode <jak@debian.org>2017-02-11 22:17:08 +0100
commit25f54c960d7a4ceca7bd3e21f87baf48d6cbc2d3 (patch)
treeb87f059078a0ca81b188abd7d35514de2af648af /doc/apt-cdrom.8.xml
parent56c53760171a40a3ca974346d36d518f7ec5bcd9 (diff)
Don't use -1 fd and AT_SYMLINK_NOFOLLOW for faccessat()
-1 is not an allowed value for the file descriptor, the only allowed non-file-descriptor value is AT_FDCWD. So use that instead. AT_SYMLINK_NOFOLLOW has a weird semantic: It checks whether we have the specified access on the symbolic link. It also is implemented only by glibc on Linux, so it's inherently non-portable. We should just drop it. Thanks: James Clarke for debugging these issues Reported-by: James Clarke <jrtc27@jrtc27.com>
Diffstat (limited to 'doc/apt-cdrom.8.xml')
0 files changed, 0 insertions, 0 deletions