aboutsummaryrefslogtreecommitdiff
path: root/archival
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-07-21 15:08:09 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-07-21 15:08:09 +0000
commitb71c668c577f7780362f7ea632895c11e3760d66 (patch)
tree860ccf38cce8c5347ae2b714a22b82a1d7dba323 /archival
parent82bd9ee64546c4f6f60303f6356377ce6b695a06 (diff)
downloadbusybox-w32-b71c668c577f7780362f7ea632895c11e3760d66.tar.gz
busybox-w32-b71c668c577f7780362f7ea632895c11e3760d66.tar.bz2
busybox-w32-b71c668c577f7780362f7ea632895c11e3760d66.zip
style fix (stray space before ';')
Diffstat (limited to 'archival')
-rw-r--r--archival/dpkg.c2
-rw-r--r--archival/gzip.c8
-rw-r--r--archival/libunarchive/get_header_tar.c4
3 files changed, 7 insertions, 7 deletions
diff --git a/archival/dpkg.c b/archival/dpkg.c
index c40a932ec..0c1f541e0 100644
--- a/archival/dpkg.c
+++ b/archival/dpkg.c
@@ -712,7 +712,7 @@ static void set_status(const unsigned status_node_num, const char *new_value, co
712 712
713static const char *describe_status(int status_num) 713static const char *describe_status(int status_num)
714{ 714{
715 int status_want, status_state ; 715 int status_want, status_state;
716 if (status_hashtable[status_num] == NULL || status_hashtable[status_num]->status == 0) 716 if (status_hashtable[status_num] == NULL || status_hashtable[status_num]->status == 0)
717 return "is not installed or flagged to be installed"; 717 return "is not installed or flagged to be installed";
718 718
diff --git a/archival/gzip.c b/archival/gzip.c
index fdf2a794c..08c660e40 100644
--- a/archival/gzip.c
+++ b/archival/gzip.c
@@ -49,10 +49,10 @@ aa: 85.1% -- replaced with aa.gz
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; }
54# define Tracec(c,x) {if (verbose && (c)) fprintf x ;} 54# define Tracec(c,x) {if (verbose && (c)) fprintf x; }
55# define Tracecv(c,x) {if (verbose > 1 && (c)) fprintf x ;} 55# define Tracecv(c,x) {if (verbose > 1 && (c)) fprintf x; }
56#else 56#else
57# define Assert(cond,msg) 57# define Assert(cond,msg)
58# define Trace(x) 58# define Trace(x)
diff --git a/archival/libunarchive/get_header_tar.c b/archival/libunarchive/get_header_tar.c
index 1a7a687cf..e8ef92994 100644
--- a/archival/libunarchive/get_header_tar.c
+++ b/archival/libunarchive/get_header_tar.c
@@ -122,13 +122,13 @@ char get_header_tar(archive_handle_t *archive_handle)
122 sum_s = ' ' * sizeof(tar.chksum); 122 sum_s = ' ' * sizeof(tar.chksum);
123#endif 123#endif
124 sum_u = ' ' * sizeof(tar.chksum); 124 sum_u = ' ' * sizeof(tar.chksum);
125 for (i = 0; i < 148 ; i++) { 125 for (i = 0; i < 148; i++) {
126 sum_u += ((unsigned char*)&tar)[i]; 126 sum_u += ((unsigned char*)&tar)[i];
127#if ENABLE_FEATURE_TAR_OLDSUN_COMPATIBILITY 127#if ENABLE_FEATURE_TAR_OLDSUN_COMPATIBILITY
128 sum_s += ((signed char*)&tar)[i]; 128 sum_s += ((signed char*)&tar)[i];
129#endif 129#endif
130 } 130 }
131 for (i = 156; i < 512 ; i++) { 131 for (i = 156; i < 512; i++) {
132 sum_u += ((unsigned char*)&tar)[i]; 132 sum_u += ((unsigned char*)&tar)[i];
133#if ENABLE_FEATURE_TAR_OLDSUN_COMPATIBILITY 133#if ENABLE_FEATURE_TAR_OLDSUN_COMPATIBILITY
134 sum_s += ((signed char*)&tar)[i]; 134 sum_s += ((signed char*)&tar)[i];