mirror of
https://github.com/sheumann/hush.git
synced 2025-01-02 09:31:26 +00:00
ar: fix a regression: "ar t arch.a" stopped shoting files
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
c2d413ba74
commit
36dcf4e516
@ -235,6 +235,7 @@ int ar_main(int argc UNUSED_PARAM, char **argv)
|
|||||||
: O_RDONLY
|
: O_RDONLY
|
||||||
);
|
);
|
||||||
|
|
||||||
|
if (*argv)
|
||||||
archive_handle->filter = filter_accept_list;
|
archive_handle->filter = filter_accept_list;
|
||||||
while (*argv) {
|
while (*argv) {
|
||||||
llist_add_to_end(&archive_handle->accept, *argv++);
|
llist_add_to_end(&archive_handle->accept, *argv++);
|
||||||
|
Loading…
Reference in New Issue
Block a user