Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixup! mingw: ensure
getcwd()
reports the correct case
The return value of GetCurrentDirectoryW() upon errors is actually 0, not negative (it cannot be negative, as DWORD is an *unsigned* data type). Also, when converting from _wgetcwd(), I forgot to add errno explicitly... Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
- Loading branch information