diff options
author | Kurtis Rader <krader@skepticism.us> | 2016-04-12 19:03:07 -0700 |
---|---|---|
committer | Kurtis Rader <krader@skepticism.us> | 2016-04-12 19:03:07 -0700 |
commit | 8e103c231e74a3dda40d0a0e5a844ea8b6aa1e4b (patch) | |
tree | f686ce8e98ffa1fdf82afb8da6bffd68ff1f6da6 /CONTRIBUTING.md | |
parent | 9569f51e83b18fee9eb7d3494540530ad809555f (diff) |
fish handling of readlink()
The readlink() function does not null terminate the path it returns.
Remove the OS X code that deals with a path buffer that is too short. For
one thing a loop isn't needed since we're told how big of a buffer
is required if the first _NSGetExecutablePath() call fails. But more
important it is so unlikely that the path will be longer than PATH_MAX
that if it is we should just give up.
Fixes 2931.
Diffstat (limited to 'CONTRIBUTING.md')
0 files changed, 0 insertions, 0 deletions