2014-10-24 17:32:31 +02:00
|
|
|
Index: timezone-2014i/zic.c
|
2014-03-26 15:07:41 +01:00
|
|
|
===================================================================
|
2014-10-24 17:32:31 +02:00
|
|
|
--- timezone-2014i.orig/zic.c
|
|
|
|
+++ timezone-2014i/zic.c
|
2014-09-03 22:09:53 +02:00
|
|
|
@@ -729,17 +729,17 @@ dolink(const char *const fromfield, cons
|
2013-10-14 16:25:26 +02:00
|
|
|
|
|
|
|
result = link(fromname, toname);
|
|
|
|
if (result != 0) {
|
|
|
|
- const char *s = fromfield;
|
|
|
|
+ const char *s = fromname;
|
|
|
|
const char *t;
|
|
|
|
register char * symlinkcontents = NULL;
|
|
|
|
|
|
|
|
do
|
|
|
|
t = s;
|
|
|
|
while ((s = strchr(s, '/'))
|
|
|
|
- && ! strncmp (fromfield, tofield,
|
|
|
|
- ++s - fromfield));
|
|
|
|
+ && ! strncmp (fromname, tofield,
|
|
|
|
+ ++s - fromname));
|
|
|
|
|
|
|
|
- for (s = tofield + (t - fromfield);
|
|
|
|
+ for (s = tofield + (t - fromname);
|
|
|
|
(s = strchr(s, '/'));
|
|
|
|
s++)
|
|
|
|
symlinkcontents =
|