diff --git a/src/timezone/zic.c b/src/timezone/zic.c index 8d4347a47a31fbd27452b76bae74b6fd3acd12dc..f9cbac9f0068698775a51c3d9114cf1824317870 100644 --- a/src/timezone/zic.c +++ b/src/timezone/zic.c @@ -3485,7 +3485,10 @@ int link(const char *oldpath, const char *newpath) { if (!CopyFile(oldpath, newpath, false)) + { + _dosmaperr(GetLastError()); return -1; + } return 0; } #endif