summaryrefslogtreecommitdiffstats
path: root/lib/msun
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2008-08-03 15:44:56 +0000
committerrwatson <rwatson@FreeBSD.org>2008-08-03 15:44:56 +0000
commit8883e5c019649d676291980af150ddd497142b96 (patch)
treec5b6fdbfcafeab98625658cf16e72f36a4b96488 /lib/msun
parent28def2c5ae2c4a5561bbc4ab5275aa8c916733a6 (diff)
downloadFreeBSD-src-8883e5c019649d676291980af150ddd497142b96.zip
FreeBSD-src-8883e5c019649d676291980af150ddd497142b96.tar.gz
Remove broken code to replace st_mode value with ACCESSPERMS when
lstat(2) is called on symlinks -- this code appears never to have worked. The PR this addresses suggests that the intended original behavior is the right one, but as bde points out in the PR comments, we do actually support storing a mode on symlinks, so returning it seems reasonable. This is consistent with Mac OS X, which despite documentation to the contrary does return the mode set on a symlink, but not some other platforms. The Single Unix Spec requires only that the returned bits be "meaningful", which seems at best unhelpful as advice goes. PR: 25018 MFC after: 3 days
Diffstat (limited to 'lib/msun')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud