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 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…
	
	Add table
		
		Reference in a new issue