aboutsummaryrefslogtreecommitdiff
path: root/archival
diff options
context:
space:
mode:
Diffstat (limited to 'archival')
-rw-r--r--archival/tar.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/archival/tar.c b/archival/tar.c
index c0ceff589..3cd033be3 100644
--- a/archival/tar.c
+++ b/archival/tar.c
@@ -679,14 +679,12 @@ static llist_t *append_file_list_to_list(llist_t *list)
char *cp = last_char_is(line, '/');
if (cp > line)
*cp = '\0';
- llist_add_to(&newlist, line);
+ llist_add_to_end(&newlist, line);
}
fclose(src_stream);
}
return newlist;
}
-#else
-# define append_file_list_to_list(x) 0
#endif
//usage:#define tar_trivial_usage