Accepting request 307993 from home:leonardocf:branches:Base:System

- Fix check for empty components in absolute path
- Fix post-install script to overwrite the temporary file when
  attempting to create /etc/localtime as a hard link [bsc#928841]
- Update to 2015d [bsc#928584, bsc#928246]

OBS-URL: https://build.opensuse.org/request/show/307993
OBS-URL: https://build.opensuse.org/package/show/Base:System/timezone?expand=0&rev=160
This commit is contained in:
2015-05-19 15:52:15 +00:00
committed by Git OBS Bridge
parent f9526fb18e
commit 6620a7ba51
19 changed files with 353 additions and 97 deletions

View File

@@ -15,12 +15,12 @@ This patch changes the order to:
2. File copy
3. Symbolic link
Index: timezone-2014g/zic.c
Index: timezone-2015d/zic.c
===================================================================
--- timezone-2014g.orig/zic.c
+++ timezone-2014g/zic.c
@@ -686,6 +686,23 @@ namecheck(const char *name)
componentcheck(name, component, cp);
--- timezone-2015d.orig/zic.c
+++ timezone-2015d/zic.c
@@ -734,6 +734,23 @@ relname(char const *dir, char const *bas
}
}
+static int
@@ -43,7 +43,7 @@ Index: timezone-2014g/zic.c
static void
dolink(const char *const fromfield, const char *const tofield)
{
@@ -728,6 +745,8 @@ dolink(const char *const fromfield, cons
@@ -763,6 +780,8 @@ dolink(const char *const fromfield, cons
exit(EXIT_FAILURE);
result = link(fromname, toname);