commit | 8e0b38060d7a9916fc2b5de0dd7c166ef60be9c1 | [log] [tgz] |
---|---|---|
author | Przemyslaw Pawelczyk <przemoc@gmail.com> | Mon Oct 23 00:07:42 2017 +0200 |
committer | Rich Felker <dalias@aerifal.cx> | Wed Feb 21 11:54:59 2018 -0500 |
tree | ac6004074ca1656ee2c140ea58a598bb0e4759ca | |
parent | 75cba9c67fde03421b96c1bcbaf666b4b348739d [diff] |
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.