Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Syscall.readlink() for non-ascii targets
Syscall.readlink() currently returns an integer indicating the number of bytes in the link. As buf contains chars, this value is useless if the target contains non-ascii characters. This commit creates a new overload which uses a byte array instead of a StringBuilder and rewrites the old overload to return the number of chars instead. Fixes #11778 and #9611
- Loading branch information
1 parent
7c89014
commit 9b824c3
Showing
8 changed files
with
388 additions
and
99 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
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
Oops, something went wrong.