aboutsummaryrefslogtreecommitdiff
path: root/archival
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-04-12 00:32:05 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-04-12 00:32:05 +0000
commit51742f4bb0c57a4d5063ece9437a2f34a42e52c8 (patch)
tree7a912fc65ff43bdb09078d75bfc02ad8f5380b47 /archival
parent50f7f446ecaadef6895a4ee601567e0b68330637 (diff)
downloadbusybox-w32-51742f4bb0c57a4d5063ece9437a2f34a42e52c8.tar.gz
busybox-w32-51742f4bb0c57a4d5063ece9437a2f34a42e52c8.tar.bz2
busybox-w32-51742f4bb0c57a4d5063ece9437a2f34a42e52c8.zip
style fixes. No code changes
Diffstat (limited to 'archival')
-rw-r--r--archival/bbunzip.c2
-rw-r--r--archival/gzip.c2
-rw-r--r--archival/tar.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/archival/bbunzip.c b/archival/bbunzip.c
index 4dba498b8..00cece4ad 100644
--- a/archival/bbunzip.c
+++ b/archival/bbunzip.c
@@ -217,7 +217,7 @@ char* make_new_name_gunzip(char *filename)
217#endif 217#endif
218 ) { 218 ) {
219 extension[-1] = '\0'; 219 extension[-1] = '\0';
220 } else if(strcmp(extension, "tgz") == 0) { 220 } else if (strcmp(extension, "tgz") == 0) {
221 filename = xstrdup(filename); 221 filename = xstrdup(filename);
222 extension = strrchr(filename, '.'); 222 extension = strrchr(filename, '.');
223 extension[2] = 'a'; 223 extension[2] = 'a';
diff --git a/archival/gzip.c b/archival/gzip.c
index 561f1088c..03b6b9117 100644
--- a/archival/gzip.c
+++ b/archival/gzip.c
@@ -47,7 +47,7 @@ aa: 85.1% -- replaced with aa.gz
47//#define DEBUG 1 47//#define DEBUG 1
48/* Diagnostic functions */ 48/* Diagnostic functions */
49#ifdef DEBUG 49#ifdef DEBUG
50# define Assert(cond,msg) {if(!(cond)) bb_error_msg(msg);} 50# define Assert(cond,msg) { if (!(cond)) bb_error_msg(msg); }
51# define Trace(x) fprintf x 51# define Trace(x) fprintf x
52# define Tracev(x) {if (verbose) fprintf x ;} 52# define Tracev(x) {if (verbose) fprintf x ;}
53# define Tracevv(x) {if (verbose > 1) fprintf x ;} 53# define Tracevv(x) {if (verbose > 1) fprintf x ;}
diff --git a/archival/tar.c b/archival/tar.c
index 11a74dfe9..79979b05f 100644
--- a/archival/tar.c
+++ b/archival/tar.c
@@ -676,7 +676,7 @@ static void handle_SIGCHLD(int status)
676 /* child exited with 0 */ 676 /* child exited with 0 */
677 return; 677 return;
678 /* Cannot happen? 678 /* Cannot happen?
679 if(!WIFSIGNALED(status) && !WIFEXITED(status)) return; */ 679 if (!WIFSIGNALED(status) && !WIFEXITED(status)) return; */
680 child_error = 1; 680 child_error = 1;
681} 681}
682#endif 682#endif