[BusyBox-cvs] busybox/archival tar.c,1.171,1.172

Matt Kraai kraai at busybox.net
Sun May 18 21:12:39 UTC 2003


Update of /var/cvs/busybox/archival
In directory winder:/tmp/cvs-serv26090/archival

Modified Files:
	tar.c 
Log Message:
Handle -O preceding -x.


Index: tar.c
===================================================================
RCS file: /var/cvs/busybox/archival/tar.c,v
retrieving revision 1.171
retrieving revision 1.172
diff -u -d -r1.171 -r1.172
--- tar.c	26 Apr 2003 13:16:44 -0000	1.171
+++ tar.c	18 May 2003 21:12:36 -0000	1.172
@@ -645,7 +645,9 @@
 			break;
 		case 'x':
 			ctx_flag |= CTX_EXTRACT;
-			tar_handle->action_data = data_extract_all;
+			if (tar_handle->action_data != data_extract_to_stdout) {
+				tar_handle->action_data = data_extract_all;
+			}
 			break;
 
 			/* These are optional */



More information about the busybox-cvs mailing list