9d4d99d6a4
(just workarounds, the code is too messy for a real fix), bump PKGREVISION
14 lines
375 B
Text
14 lines
375 B
Text
$NetBSD: patch-ad,v 1.1 2009/08/10 10:00:19 drochner Exp $
|
|
|
|
--- src/sj-extracting.c.orig 2009-02-10 22:55:51.000000000 +0100
|
|
+++ src/sj-extracting.c
|
|
@@ -855,6 +855,9 @@ sanitize_path (const char* str, const ch
|
|
gchar *res = NULL;
|
|
gchar *s;
|
|
|
|
+ if (!str)
|
|
+ return NULL;
|
|
+
|
|
/* Skip leading periods, otherwise files disappear... */
|
|
while (*str == '.')
|
|
str++;
|