]> git.ipfire.org Git - thirdparty/glibc.git/commit
posix: Fix attribute access mode on getcwd [BZ #27476]
authorAurelien Jarno <aurelien@aurel32.net>
Fri, 10 Sep 2021 17:39:35 +0000 (19:39 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Thu, 16 Sep 2021 20:32:53 +0000 (22:32 +0200)
commit63a788f48a713f2081f200dd054df3e728b0e7c2
tree6c003f9c053db9c56f0c4a3686f4d71cec522415
parent876e51548cc5d96af5ea13febd0a1a75bfc04497
posix: Fix attribute access mode on getcwd [BZ #27476]

There is a GNU extension that allows to call getcwd(NULL, >0). It is
described in the documentation, but also directly in the unistd.h
header, just above the declaration.

Therefore the attribute access mode added in commit 06febd8c6705
is not correct. Drop it.
posix/bits/unistd.h
posix/unistd.h