svn commit: trunk/busybox/archival: libunarchive

vda at busybox.net vda at busybox.net
Sun Sep 9 14:11:12 UTC 2007


Author: vda
Date: 2007-09-09 07:11:11 -0700 (Sun, 09 Sep 2007)
New Revision: 19807

Log:
style fix, no code changes



Modified:
   trunk/busybox/archival/libunarchive/get_header_tar_bz2.c
   trunk/busybox/archival/libunarchive/get_header_tar_gz.c
   trunk/busybox/archival/libunarchive/get_header_tar_lzma.c
   trunk/busybox/archival/tar.c


Changeset:
Modified: trunk/busybox/archival/libunarchive/get_header_tar_bz2.c
===================================================================
--- trunk/busybox/archival/libunarchive/get_header_tar_bz2.c	2007-09-09 11:20:55 UTC (rev 19806)
+++ trunk/busybox/archival/libunarchive/get_header_tar_bz2.c	2007-09-09 14:11:11 UTC (rev 19807)
@@ -13,7 +13,8 @@
 
 	archive_handle->src_fd = open_transformer(archive_handle->src_fd, unpack_bz2_stream, "bunzip2", "bunzip2", "-cf", "-", NULL);
 	archive_handle->offset = 0;
-	while (get_header_tar(archive_handle) == EXIT_SUCCESS) /**/;
+	while (get_header_tar(archive_handle) == EXIT_SUCCESS)
+		continue;
 
 	/* Can only do one file at a time */
 	return EXIT_FAILURE;

Modified: trunk/busybox/archival/libunarchive/get_header_tar_gz.c
===================================================================
--- trunk/busybox/archival/libunarchive/get_header_tar_gz.c	2007-09-09 11:20:55 UTC (rev 19806)
+++ trunk/busybox/archival/libunarchive/get_header_tar_gz.c	2007-09-09 14:11:11 UTC (rev 19807)
@@ -29,7 +29,8 @@
 
 	archive_handle->src_fd = open_transformer(archive_handle->src_fd, unpack_gz_stream, "gunzip", "gunzip", "-cf", "-", NULL);
 	archive_handle->offset = 0;
-	while (get_header_tar(archive_handle) == EXIT_SUCCESS) /**/;
+	while (get_header_tar(archive_handle) == EXIT_SUCCESS)
+		continue;
 
 	/* Can only do one file at a time */
 	return EXIT_FAILURE;

Modified: trunk/busybox/archival/libunarchive/get_header_tar_lzma.c
===================================================================
--- trunk/busybox/archival/libunarchive/get_header_tar_lzma.c	2007-09-09 11:20:55 UTC (rev 19806)
+++ trunk/busybox/archival/libunarchive/get_header_tar_lzma.c	2007-09-09 14:11:11 UTC (rev 19807)
@@ -16,7 +16,8 @@
 
 	archive_handle->src_fd = open_transformer(archive_handle->src_fd, unpack_lzma_stream, "unlzma", "unlzma", "-cf", "-", NULL);
 	archive_handle->offset = 0;
-	while (get_header_tar(archive_handle) == EXIT_SUCCESS) /**/;
+	while (get_header_tar(archive_handle) == EXIT_SUCCESS)
+		continue;
 
 	/* Can only do one file at a time */
 	return EXIT_FAILURE;

Modified: trunk/busybox/archival/tar.c
===================================================================
--- trunk/busybox/archival/tar.c	2007-09-09 11:20:55 UTC (rev 19806)
+++ trunk/busybox/archival/tar.c	2007-09-09 14:11:11 UTC (rev 19807)
@@ -663,7 +663,7 @@
 	archive_handle->src_fd = open_transformer(archive_handle->src_fd, uncompress, "uncompress", "uncompress", "-cf", "-", NULL);
 	archive_handle->offset = 0;
 	while (get_header_tar(archive_handle) == EXIT_SUCCESS)
-		/* nothing */;
+		continue;
 
 	/* Can only do one file at a time */
 	return EXIT_FAILURE;




More information about the busybox-cvs mailing list