aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2009-04-01 11:24:04 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2009-04-01 11:24:04 +0000
commit3266aa9ec285dbcf254daa17c103bf69dc755967 (patch)
tree265f69a3085b0d712d355580d768242734e5951a
parent88b8f0a3475fc1f2e1b3cf58b63902551dae0169 (diff)
downloadbusybox-3266aa9ec285dbcf254daa17c103bf69dc755967.tar.gz
trailing whitespace removal
-rw-r--r--archival/libunarchive/get_header_tar.c2
-rw-r--r--docs/busybox.net/svnindex.xsl6
-rw-r--r--editors/vi.c4
-rw-r--r--findutils/grep.c2
-rw-r--r--include/libbb.h2
-rw-r--r--loginutils/login.c2
-rw-r--r--miscutils/ionice.c4
7 files changed, 11 insertions, 11 deletions
diff --git a/archival/libunarchive/get_header_tar.c b/archival/libunarchive/get_header_tar.c
index 0280bbc91..443052f7e 100644
--- a/archival/libunarchive/get_header_tar.c
+++ b/archival/libunarchive/get_header_tar.c
@@ -48,7 +48,7 @@ static off_t getBase256_len12(const char *str)
while (1) {
if (c)
bb_error_msg_and_die("overflow in base-256 encoded file size");
- if (--len == sizeof(off_t))
+ if (--len == sizeof(off_t))
break;
c = *str++;
}
diff --git a/docs/busybox.net/svnindex.xsl b/docs/busybox.net/svnindex.xsl
index b4cc5f993..2d3297c4c 100644
--- a/docs/busybox.net/svnindex.xsl
+++ b/docs/busybox.net/svnindex.xsl
@@ -25,9 +25,9 @@
<div class="header" style="font-family: lucida, helvetica; font-size: 248%">
<xsl:text>BUSYBOX</xsl:text>
</div>
- <div class="header">
- <a href="http://www.busybox.net"><img src="/images/busybox1.png" border="0" /></a>
- </div>
+ <div class="header">
+ <a href="http://www.busybox.net"><img src="/images/busybox1.png" border="0" /></a>
+ </div>
<div class="svn">
<xsl:apply-templates/>
</div>
diff --git a/editors/vi.c b/editors/vi.c
index 7f5f2dcbc..0497bc251 100644
--- a/editors/vi.c
+++ b/editors/vi.c
@@ -1677,12 +1677,12 @@ static char *char_insert(char *p, char c) // insert the char c at 'p'
q = prev_line(p); // use prev line as template
len = strspn(q, " \t"); // space or tab
if (len) {
- uintptr_t bias;
+ uintptr_t bias;
bias = text_hole_make(p, len);
p += bias;
q += bias;
memcpy(p, q, len);
- p += len;
+ p += len;
}
}
#endif
diff --git a/findutils/grep.c b/findutils/grep.c
index 723c3511a..e23f9bcf3 100644
--- a/findutils/grep.c
+++ b/findutils/grep.c
@@ -30,7 +30,7 @@
USE_DESKTOP("w") \
USE_EXTRA_COMPAT("z") \
"aI"
-
+
/* ignored: -a "assume all files to be text" */
/* ignored: -I "assume binary files have no matches" */
diff --git a/include/libbb.h b/include/libbb.h
index c2e034447..74ec678d8 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -1301,7 +1301,7 @@ enum {
PSSCAN_ARGVN = (1 << 16) * (ENABLE_KILLALL
|| ENABLE_PGREP || ENABLE_PKILL
|| ENABLE_PIDOF
- || ENABLE_SESTATUS
+ || ENABLE_SESTATUS
),
USE_SELINUX(PSSCAN_CONTEXT = 1 << 17,)
PSSCAN_START_TIME = 1 << 18,
diff --git a/loginutils/login.c b/loginutils/login.c
index b7b9ee1d8..d57d529c0 100644
--- a/loginutils/login.c
+++ b/loginutils/login.c
@@ -465,7 +465,7 @@ int login_main(int argc UNUSED_PARAM, char **argv)
fchmod(0, 0600);
/* We trust environment only if we run by root */
- if (ENABLE_LOGIN_SCRIPTS && run_by_root)
+ if (ENABLE_LOGIN_SCRIPTS && run_by_root)
run_login_script(pw, full_tty);
change_identity(pw);
diff --git a/miscutils/ionice.c b/miscutils/ionice.c
index 88d771c30..361c141b8 100644
--- a/miscutils/ionice.c
+++ b/miscutils/ionice.c
@@ -57,7 +57,7 @@ int ionice_main(int argc UNUSED_PARAM, char **argv)
/* '+': stop at first non-option */
opt = getopt32(argv, "+n:c:p:", &pri, &ioclass, &pid);
argv += optind;
-
+
if (opt & OPT_c) {
if (ioclass > 3)
bb_error_msg_and_die("bad class %d", ioclass);
@@ -70,7 +70,7 @@ int ionice_main(int argc UNUSED_PARAM, char **argv)
// pri = 7;
// }
}
-
+
if (!(opt & (OPT_n|OPT_c))) {
if (!(opt & OPT_p) && *argv)
pid = xatoi_u(*argv);