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

Commit99f13d1

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 parentfab220b commit99f13d1

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
@@ -931,9 +931,11 @@ dolink(char const * fromfield, char const * tofield, bool staysymlink)
931931
if (link_errno!=ENOTSUP)
932932
warning(_("copy used because hard link failed: %s"),
933933
strerror(link_errno));
934+
#ifdefHAVE_SYMLINK
934935
elseif (symlink_errno!=ENOTSUP)
935936
warning(_("copy used because symbolic link failed: %s"),
936937
strerror(symlink_errno));
938+
#endif
937939
}
938940
}
939941
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp