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

Commit44c56d3

Browse files
committed
Fix not-HAVE_SYMLINK code in zic.c.
I broke this in commitf309492. Apparently it's dead code anyway,at least as far as our buildfarm is concerned (and the upstream IANAcode doesn't worry at all about symlink() not being present).But as long as the rest of our code is willing to guard against nothaving symlink(), this should too. Noted while investigating atangentially-related complaint from Sandeep Thakkar.Back-patch to keep branches in sync.
1 parent59a0c01 commit44c56d3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎src/timezone/zic.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -943,9 +943,11 @@ dolink(char const * fromfield, char const * tofield, bool staysymlink)
943943
if (link_errno!=ENOTSUP)
944944
warning(_("copy used because hard link failed: %s"),
945945
strerror(link_errno));
946+
#ifdefHAVE_SYMLINK
946947
elseif (symlink_errno!=ENOTSUP)
947948
warning(_("copy used because symbolic link failed: %s"),
948949
strerror(symlink_errno));
950+
#endif
949951
}
950952
}
951953
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp