Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6d257e7

Browse files
committed
Fix zic for Windows.
The new coding of dolink() is dependent on link() returning an on-pointerrno when it fails; but the quick-hack implementation of link() thatwe'd put in for Windows didn't bother with setting errno. Fix that.Analysis and patch by Christian Ullrich.
1 parent656ee84 commit6d257e7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎src/timezone/zic.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3485,7 +3485,10 @@ int
34853485
link(constchar*oldpath,constchar*newpath)
34863486
{
34873487
if (!CopyFile(oldpath,newpath, false))
3488+
{
3489+
_dosmaperr(GetLastError());
34883490
return-1;
3491+
}
34893492
return0;
34903493
}
34913494
#endif

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp