Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stop passing NULL for realpath()'s second param
macOS 10.5 and earlier do not support the convention of returning a dynamically allocated string, plus this seems like an unnecessary malloc. Always allocate a buffer for realpath() to write into.
- Loading branch information
1 parent
639faf1
commit 05c0cb7
Showing
1 changed file
with
6 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters