trailing whitespace removal

This commit is contained in:
Denis Vlasenko 2009-04-01 11:24:04 +00:00
parent 88b8f0a347
commit 3266aa9ec2
7 changed files with 11 additions and 11 deletions

View File

@ -48,7 +48,7 @@ static off_t getBase256_len12(const char *str)
while (1) { while (1) {
if (c) if (c)
bb_error_msg_and_die("overflow in base-256 encoded file size"); bb_error_msg_and_die("overflow in base-256 encoded file size");
if (--len == sizeof(off_t)) if (--len == sizeof(off_t))
break; break;
c = *str++; c = *str++;
} }

View File

@ -25,9 +25,9 @@
<div class="header" style="font-family: lucida, helvetica; font-size: 248%"> <div class="header" style="font-family: lucida, helvetica; font-size: 248%">
<xsl:text>BUSYBOX</xsl:text> <xsl:text>BUSYBOX</xsl:text>
</div> </div>
<div class="header"> <div class="header">
<a href="http://www.busybox.net"><img src="/images/busybox1.png" border="0" /></a> <a href="http://www.busybox.net"><img src="/images/busybox1.png" border="0" /></a>
</div> </div>
<div class="svn"> <div class="svn">
<xsl:apply-templates/> <xsl:apply-templates/>
</div> </div>

View File

@ -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 q = prev_line(p); // use prev line as template
len = strspn(q, " \t"); // space or tab len = strspn(q, " \t"); // space or tab
if (len) { if (len) {
uintptr_t bias; uintptr_t bias;
bias = text_hole_make(p, len); bias = text_hole_make(p, len);
p += bias; p += bias;
q += bias; q += bias;
memcpy(p, q, len); memcpy(p, q, len);
p += len; p += len;
} }
} }
#endif #endif

View File

@ -30,7 +30,7 @@
USE_DESKTOP("w") \ USE_DESKTOP("w") \
USE_EXTRA_COMPAT("z") \ USE_EXTRA_COMPAT("z") \
"aI" "aI"
/* ignored: -a "assume all files to be text" */ /* ignored: -a "assume all files to be text" */
/* ignored: -I "assume binary files have no matches" */ /* ignored: -I "assume binary files have no matches" */

View File

@ -1301,7 +1301,7 @@ enum {
PSSCAN_ARGVN = (1 << 16) * (ENABLE_KILLALL PSSCAN_ARGVN = (1 << 16) * (ENABLE_KILLALL
|| ENABLE_PGREP || ENABLE_PKILL || ENABLE_PGREP || ENABLE_PKILL
|| ENABLE_PIDOF || ENABLE_PIDOF
|| ENABLE_SESTATUS || ENABLE_SESTATUS
), ),
USE_SELINUX(PSSCAN_CONTEXT = 1 << 17,) USE_SELINUX(PSSCAN_CONTEXT = 1 << 17,)
PSSCAN_START_TIME = 1 << 18, PSSCAN_START_TIME = 1 << 18,

View File

@ -465,7 +465,7 @@ int login_main(int argc UNUSED_PARAM, char **argv)
fchmod(0, 0600); fchmod(0, 0600);
/* We trust environment only if we run by root */ /* 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); run_login_script(pw, full_tty);
change_identity(pw); change_identity(pw);

View File

@ -57,7 +57,7 @@ int ionice_main(int argc UNUSED_PARAM, char **argv)
/* '+': stop at first non-option */ /* '+': stop at first non-option */
opt = getopt32(argv, "+n:c:p:", &pri, &ioclass, &pid); opt = getopt32(argv, "+n:c:p:", &pri, &ioclass, &pid);
argv += optind; argv += optind;
if (opt & OPT_c) { if (opt & OPT_c) {
if (ioclass > 3) if (ioclass > 3)
bb_error_msg_and_die("bad class %d", ioclass); bb_error_msg_and_die("bad class %d", ioclass);
@ -70,7 +70,7 @@ int ionice_main(int argc UNUSED_PARAM, char **argv)
// pri = 7; // pri = 7;
// } // }
} }
if (!(opt & (OPT_n|OPT_c))) { if (!(opt & (OPT_n|OPT_c))) {
if (!(opt & OPT_p) && *argv) if (!(opt & OPT_p) && *argv)
pid = xatoi_u(*argv); pid = xatoi_u(*argv);