Bug fix
Under the '-x' option, the archive was opened in "APPEND" mode.
This commit is contained in:
parent
9f47676fa3
commit
a410519ff5
1 changed files with 1 additions and 1 deletions
|
@ -264,7 +264,7 @@ register char *argv[];
|
|||
int i = 0;
|
||||
int temp_fd, read_chars;
|
||||
|
||||
ar_fd = open_archive(argv[2], (show_fl || pr_fl) ? READ : APPEND);
|
||||
ar_fd = open_archive(argv[2], (show_fl || pr_fl || ex_fl) ? READ : APPEND);
|
||||
if (rep_fl || del_fl
|
||||
#ifdef AAL
|
||||
|| app_fl
|
||||
|
|
Loading…
Reference in a new issue