1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
From: Fabian Groffen <grobian@gentoo.org>
Date: Sat, 20 Jan 2018 10:33:44 +0100
Subject: linuxattr: fix missing symbol safe_dirname
This one was probably missed when they did a global rename to xar_
prefixed variants.
Patch-Source: https://github.com/gentoo/gentoo/blob/dce914f2bbf52360f45c90d877857df3c4c2a353/app-arch/xar/files/xar-1.8-safe_dirname.patch
---
xar/lib/linuxattr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/xar/lib/linuxattr.c b/xar/lib/linuxattr.c
index 0fec2bb..58ee6a8 100644
--- a/xar/lib/linuxattr.c
+++ b/xar/lib/linuxattr.c
@@ -226,7 +226,7 @@ int32_t xar_linuxattr_extract(xar_t x, xar_file_t f, const char* file, char *buf
if( statfs(file, &sfs) != 0 ) {
char *tmp, *bname;
tmp = strdup(file);
- bname = safe_dirname(tmp);
+ bname = xar_safe_dirname(tmp);
statfs(bname, &sfs);
free(tmp);
free(bname);
|