SHA256
3
0
forked from pool/timezone
timezone/tzcode-zic.diff
Petr Baudis 6616e71e99 - Make zic -l do a copy when hardlinking fails (e.g. because /usr
being on a separate partition) [bnc#607532]

- un-fuzz patches to fix build

OBS-URL: https://build.opensuse.org/package/show/Base:System/timezone?expand=0&rev=27
2010-08-24 10:38:30 +00:00

16 lines
377 B
Diff

Index: zic.c
===================================================================
--- zic.c.orig
+++ zic.c
@@ -665,8 +665,10 @@ const char * const tofield;
fromname);
result = symlink(symlinkcontents,
toname);
+#if 0
if (result == 0)
warning(_("hard link failed, symbolic link used"));
+#endif
ifree(symlinkcontents);
}
#endif /* HAVE_SYMLINK */