Bug fix
Under the '-x' option, the archive was opened in "APPEND" mode.
This commit is contained in:
parent
1b0eeb47a1
commit
572c33c822
@ -264,7 +264,7 @@ register char *argv[];
|
|||||||
int i = 0;
|
int i = 0;
|
||||||
int temp_fd, read_chars;
|
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
|
if (rep_fl || del_fl
|
||||||
#ifdef AAL
|
#ifdef AAL
|
||||||
|| app_fl
|
|| app_fl
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user