]> 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>
Sun, 19 Sep 2021 16:45:38 +0000 (18:45 +0200)
commit433ec4f14a5753c7689c83c20c9972915c53c204
tree178ef8dd2bec47fb031668b14193bc36508d875a
parent4ed990e5b97a61f29f929bdeb36c5b2abb547a64
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