summaryrefslogtreecommitdiff
path: root/include/pwd.h
diff options
context:
space:
mode:
authorPrzemyslaw Pawelczyk <przemoc@gmail.com>2017-10-23 00:07:42 +0200
committerRich Felker <dalias@aerifal.cx>2018-02-21 11:54:59 -0500
commit8e0b38060d7a9916fc2b5de0dd7c166ef60be9c1 (patch)
treeac6004074ca1656ee2c140ea58a598bb0e4759ca /include/pwd.h
parent75cba9c67fde03421b96c1bcbaf666b4b348739d (diff)
downloadmusl-8e0b38060d7a9916fc2b5de0dd7c166ef60be9c1.tar.gz
musl-8e0b38060d7a9916fc2b5de0dd7c166ef60be9c1.tar.bz2
musl-8e0b38060d7a9916fc2b5de0dd7c166ef60be9c1.tar.xz
musl-8e0b38060d7a9916fc2b5de0dd7c166ef60be9c1.zip
fix execvp failing on not-dir entries in PATH.
It's better to make execvp continue PATH search on ENOTDIR rather than issuing an error. Bogus entries should not render rest of PATH invalid. Maintainer's note: POSIX seems to require the search to continue like this as part of XBD 8.3 Other Environment Variables. Only errors that conclusively determine non-existence are candidates for continuing; otherwise for consistency we have to report the error.
Diffstat (limited to 'include/pwd.h')
0 files changed, 0 insertions, 0 deletions