Under the '-x' option, the archive was opened in "APPEND" mode.
This commit is contained in:
ceriel 1987-01-20 09:53:32 +00:00
parent 9f47676fa3
commit a410519ff5

View file

@ -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