-
Notifications
You must be signed in to change notification settings - Fork 555
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
win32/vdir.h: SetDirA() silence truncate warnings+add long paths
-long paths untested, but atleast have the code for >0xFF paths -avoid reading/copying/mallocing uninit mem if MultiByteToWideChar() call fails. More code for error handing could be added for MBTWC(), like croak() or buffer-resize needed (surrogates??), but do a simple fix of empty WCHAR string, WIDE null terminated, for now.
- Loading branch information
Showing
1 changed file
with
23 additions
and
9 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