Skip to content

Commit 218a54f

Browse files
committed
tar (keyword_item_run): fix restoring extended attributes from global PAX headers.
Sync with GNU tar e36d3354c767910b49d7d932b286af39c500e03d. Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
1 parent e2117b5 commit 218a54f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vfs/tar/tar-xheader.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ keyword_item_run (gpointer data, gpointer user_data)
198198

199199
t = locate_handler (kp->pattern);
200200
if (t != NULL)
201-
return t->decoder (st, t->keyword, kp->value, strlen (kp->value));
201+
return t->decoder (st, kp->pattern, kp->value, strlen (kp->value));
202202

203203
return TRUE; // FIXME
204204
}

0 commit comments

Comments
 (0)