mirror of
https://github.com/sheumann/hush.git
synced 2025-01-03 00:31:16 +00:00
trailing whitespace removal
This commit is contained in:
parent
88b8f0a347
commit
3266aa9ec2
@ -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++;
|
||||||
}
|
}
|
||||||
|
@ -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>
|
||||||
|
@ -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
|
||||||
|
@ -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" */
|
||||||
|
|
||||||
|
@ -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,
|
||||||
|
@ -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);
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user