Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Whoops, apparently stat::st_size isn't set to the string length of a …
…symlink's linkdest, so we were misallocating buffers here for the readlink(). With that in mind, I made an platform layer abstraction for readlink() and made the unix one robust to handle when we don't know the linkdest's size (er...which is always, but readlink() isn't real helpful here either).
- Loading branch information
Showing
3 changed files
with
33 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
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
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