package/busybox: fix missing bit, refresh patches
SVN-Revision: 22660
This commit is contained in:
parent
e0d13e77d0
commit
da7c2e1d7d
20 changed files with 62 additions and 63 deletions
|
@ -1,6 +1,6 @@
|
||||||
--- a/init/init.c
|
--- a/init/init.c
|
||||||
+++ b/init/init.c
|
+++ b/init/init.c
|
||||||
@@ -456,8 +456,11 @@ static void run_actions(int action_type)
|
@@ -460,8 +460,11 @@ static void run_actions(int action_type)
|
||||||
/* Only run stuff with pid == 0. If pid != 0,
|
/* Only run stuff with pid == 0. If pid != 0,
|
||||||
* it is already running
|
* it is already running
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
--- a/networking/brctl.c
|
--- a/networking/brctl.c
|
||||||
+++ b/networking/brctl.c
|
+++ b/networking/brctl.c
|
||||||
@@ -104,7 +104,7 @@ int brctl_main(int argc UNUSED_PARAM, ch
|
@@ -105,7 +105,7 @@ int brctl_main(int argc UNUSED_PARAM, ch
|
||||||
"setageing\0" "setfd\0" "sethello\0" "setmaxage\0"
|
"setageing\0" "setfd\0" "sethello\0" "setmaxage\0"
|
||||||
"setpathcost\0" "setportprio\0" "setbridgeprio\0"
|
"setpathcost\0" "setportprio\0" "setbridgeprio\0"
|
||||||
)
|
)
|
||||||
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
enum { ARG_addbr = 0, ARG_delbr, ARG_addif, ARG_delif
|
enum { ARG_addbr = 0, ARG_delbr, ARG_addif, ARG_delif
|
||||||
IF_FEATURE_BRCTL_FANCY(,
|
IF_FEATURE_BRCTL_FANCY(,
|
||||||
@@ -112,7 +112,7 @@ int brctl_main(int argc UNUSED_PARAM, ch
|
@@ -113,7 +113,7 @@ int brctl_main(int argc UNUSED_PARAM, ch
|
||||||
ARG_setageing, ARG_setfd, ARG_sethello, ARG_setmaxage,
|
ARG_setageing, ARG_setfd, ARG_sethello, ARG_setmaxage,
|
||||||
ARG_setpathcost, ARG_setportprio, ARG_setbridgeprio
|
ARG_setpathcost, ARG_setportprio, ARG_setbridgeprio
|
||||||
)
|
)
|
||||||
|
@ -20,7 +20,7 @@
|
||||||
int fd;
|
int fd;
|
||||||
--- a/networking/Config.src
|
--- a/networking/Config.src
|
||||||
+++ b/networking/Config.src
|
+++ b/networking/Config.src
|
||||||
@@ -79,7 +79,7 @@ config FEATURE_BRCTL_FANCY
|
@@ -79,12 +79,12 @@ config FEATURE_BRCTL_FANCY
|
||||||
This adds about 600 bytes.
|
This adds about 600 bytes.
|
||||||
|
|
||||||
config FEATURE_BRCTL_SHOW
|
config FEATURE_BRCTL_SHOW
|
||||||
|
@ -29,3 +29,9 @@
|
||||||
default y
|
default y
|
||||||
depends on BRCTL && FEATURE_BRCTL_FANCY
|
depends on BRCTL && FEATURE_BRCTL_FANCY
|
||||||
help
|
help
|
||||||
|
Add support for option which prints the current config:
|
||||||
|
- showmacs, showstp, show
|
||||||
|
+ show
|
||||||
|
|
||||||
|
config DNSD
|
||||||
|
bool "dnsd"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
--- a/networking/wget.c
|
--- a/networking/wget.c
|
||||||
+++ b/networking/wget.c
|
+++ b/networking/wget.c
|
||||||
@@ -543,7 +543,7 @@ int wget_main(int argc UNUSED_PARAM, cha
|
@@ -545,7 +545,7 @@ int wget_main(int argc UNUSED_PARAM, cha
|
||||||
// "tries\0" Required_argument "t"
|
// "tries\0" Required_argument "t"
|
||||||
// "timeout\0" Required_argument "T"
|
// "timeout\0" Required_argument "T"
|
||||||
/* Ignored (we always use PASV): */
|
/* Ignored (we always use PASV): */
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
--- a/networking/udhcp/dhcpc.c
|
--- a/networking/udhcp/dhcpc.c
|
||||||
+++ b/networking/udhcp/dhcpc.c
|
+++ b/networking/udhcp/dhcpc.c
|
||||||
@@ -380,7 +380,7 @@ int udhcpc_main(int argc UNUSED_PARAM, c
|
@@ -1017,7 +1017,7 @@ int udhcpc_main(int argc UNUSED_PARAM, c
|
||||||
|
|
||||||
switch (state) {
|
switch (state) {
|
||||||
case INIT_SELECTING:
|
case INIT_SELECTING:
|
||||||
|
@ -9,7 +9,7 @@
|
||||||
if (packet_num == 0)
|
if (packet_num == 0)
|
||||||
xid = random_xid();
|
xid = random_xid();
|
||||||
/* broadcast */
|
/* broadcast */
|
||||||
@@ -409,7 +409,7 @@ int udhcpc_main(int argc UNUSED_PARAM, c
|
@@ -1046,7 +1046,7 @@ int udhcpc_main(int argc UNUSED_PARAM, c
|
||||||
packet_num = 0;
|
packet_num = 0;
|
||||||
continue;
|
continue;
|
||||||
case REQUESTING:
|
case REQUESTING:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
--- a/networking/udhcp/dhcpc.c
|
--- a/networking/udhcp/dhcpc.c
|
||||||
+++ b/networking/udhcp/dhcpc.c
|
+++ b/networking/udhcp/dhcpc.c
|
||||||
@@ -342,6 +342,12 @@ int udhcpc_main(int argc UNUSED_PARAM, c
|
@@ -980,6 +980,12 @@ int udhcpc_main(int argc UNUSED_PARAM, c
|
||||||
/* silence "uninitialized!" warning */
|
/* silence "uninitialized!" warning */
|
||||||
unsigned timestamp_before_wait = timestamp_before_wait;
|
unsigned timestamp_before_wait = timestamp_before_wait;
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
--- a/shell/ash.c
|
--- a/shell/ash.c
|
||||||
+++ b/shell/ash.c
|
+++ b/shell/ash.c
|
||||||
@@ -12344,8 +12344,17 @@ exportcmd(int argc UNUSED_PARAM, char **
|
@@ -12428,8 +12428,17 @@ exportcmd(int argc UNUSED_PARAM, char **
|
||||||
const char *p;
|
const char *p;
|
||||||
char **aptr;
|
char **aptr;
|
||||||
int flag = argv[0][0] == 'r' ? VREADONLY : VEXPORT;
|
int flag = argv[0][0] == 'r' ? VREADONLY : VEXPORT;
|
||||||
|
@ -19,7 +19,7 @@
|
||||||
aptr = argptr;
|
aptr = argptr;
|
||||||
name = *aptr;
|
name = *aptr;
|
||||||
if (name) {
|
if (name) {
|
||||||
@@ -12357,10 +12366,12 @@ exportcmd(int argc UNUSED_PARAM, char **
|
@@ -12441,10 +12450,12 @@ exportcmd(int argc UNUSED_PARAM, char **
|
||||||
vp = *findvar(hashvar(name), name);
|
vp = *findvar(hashvar(name), name);
|
||||||
if (vp) {
|
if (vp) {
|
||||||
vp->flags |= flag;
|
vp->flags |= flag;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
--- a/include/applets.src.h
|
--- a/include/applets.src.h
|
||||||
+++ b/include/applets.src.h
|
+++ b/include/applets.src.h
|
||||||
@@ -282,6 +282,7 @@ IF_MT(APPLET(mt, _BB_DIR_BIN, _BB_SUID_D
|
@@ -278,6 +278,7 @@ IF_MT(APPLET(mt, _BB_DIR_BIN, _BB_SUID_D
|
||||||
IF_MV(APPLET(mv, _BB_DIR_BIN, _BB_SUID_DROP))
|
IF_MV(APPLET(mv, _BB_DIR_BIN, _BB_SUID_DROP))
|
||||||
IF_NAMEIF(APPLET(nameif, _BB_DIR_SBIN, _BB_SUID_DROP))
|
IF_NAMEIF(APPLET(nameif, _BB_DIR_SBIN, _BB_SUID_DROP))
|
||||||
IF_NC(APPLET(nc, _BB_DIR_USR_BIN, _BB_SUID_DROP))
|
IF_NC(APPLET(nc, _BB_DIR_USR_BIN, _BB_SUID_DROP))
|
||||||
|
@ -10,9 +10,9 @@
|
||||||
IF_NMETER(APPLET(nmeter, _BB_DIR_USR_BIN, _BB_SUID_DROP))
|
IF_NMETER(APPLET(nmeter, _BB_DIR_USR_BIN, _BB_SUID_DROP))
|
||||||
--- a/include/usage.src.h
|
--- a/include/usage.src.h
|
||||||
+++ b/include/usage.src.h
|
+++ b/include/usage.src.h
|
||||||
@@ -3166,6 +3166,9 @@
|
@@ -2961,6 +2961,9 @@ INSERT
|
||||||
|
" or\n" \
|
||||||
#endif
|
"$ nameif -c /etc/my_mactab_file\n" \
|
||||||
|
|
||||||
+#define netmsg_trivial_usage NOUSAGE_STR
|
+#define netmsg_trivial_usage NOUSAGE_STR
|
||||||
+#define netmsg_full_usage ""
|
+#define netmsg_full_usage ""
|
||||||
|
@ -37,7 +37,7 @@
|
||||||
default y
|
default y
|
||||||
--- a/networking/Kbuild.src
|
--- a/networking/Kbuild.src
|
||||||
+++ b/networking/Kbuild.src
|
+++ b/networking/Kbuild.src
|
||||||
@@ -25,6 +25,7 @@ lib-$(CONFIG_IP) += ip.o
|
@@ -27,6 +27,7 @@ lib-$(CONFIG_IP) += ip.o
|
||||||
lib-$(CONFIG_IPCALC) += ipcalc.o
|
lib-$(CONFIG_IPCALC) += ipcalc.o
|
||||||
lib-$(CONFIG_NAMEIF) += nameif.o
|
lib-$(CONFIG_NAMEIF) += nameif.o
|
||||||
lib-$(CONFIG_NC) += nc.o
|
lib-$(CONFIG_NC) += nc.o
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
--- a/networking/httpd.c
|
--- a/networking/httpd.c
|
||||||
+++ b/networking/httpd.c
|
+++ b/networking/httpd.c
|
||||||
@@ -1716,21 +1716,32 @@ static int check_user_passwd(const char
|
@@ -1717,21 +1717,32 @@ static int check_user_passwd(const char
|
||||||
|
|
||||||
if (ENABLE_FEATURE_HTTPD_AUTH_MD5) {
|
if (ENABLE_FEATURE_HTTPD_AUTH_MD5) {
|
||||||
char *md5_passwd;
|
char *md5_passwd;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
--- a/include/applets.src.h
|
--- a/include/applets.src.h
|
||||||
+++ b/include/applets.src.h
|
+++ b/include/applets.src.h
|
||||||
@@ -234,6 +234,7 @@ IF_LN(APPLET_NOEXEC(ln, ln, _BB_DIR_BIN,
|
@@ -229,6 +229,7 @@ IF_LN(APPLET_NOEXEC(ln, ln, _BB_DIR_BIN,
|
||||||
IF_LOAD_POLICY(APPLET(load_policy, _BB_DIR_USR_SBIN, _BB_SUID_DROP))
|
IF_LOAD_POLICY(APPLET(load_policy, _BB_DIR_USR_SBIN, _BB_SUID_DROP))
|
||||||
IF_LOADFONT(APPLET(loadfont, _BB_DIR_USR_SBIN, _BB_SUID_DROP))
|
IF_LOADFONT(APPLET(loadfont, _BB_DIR_USR_SBIN, _BB_SUID_DROP))
|
||||||
IF_LOADKMAP(APPLET(loadkmap, _BB_DIR_SBIN, _BB_SUID_DROP))
|
IF_LOADKMAP(APPLET(loadkmap, _BB_DIR_SBIN, _BB_SUID_DROP))
|
||||||
|
@ -10,7 +10,7 @@
|
||||||
IF_LOGNAME(APPLET_NOFORK(logname, logname, _BB_DIR_USR_BIN, _BB_SUID_DROP, logname))
|
IF_LOGNAME(APPLET_NOFORK(logname, logname, _BB_DIR_USR_BIN, _BB_SUID_DROP, logname))
|
||||||
--- a/include/usage.src.h
|
--- a/include/usage.src.h
|
||||||
+++ b/include/usage.src.h
|
+++ b/include/usage.src.h
|
||||||
@@ -2357,6 +2357,9 @@
|
@@ -2319,6 +2319,9 @@ INSERT
|
||||||
#define loadkmap_example_usage \
|
#define loadkmap_example_usage \
|
||||||
"$ loadkmap < /etc/i18n/lang-keymap\n"
|
"$ loadkmap < /etc/i18n/lang-keymap\n"
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@
|
||||||
#define logger_full_usage "\n\n" \
|
#define logger_full_usage "\n\n" \
|
||||||
--- a/miscutils/Config.src
|
--- a/miscutils/Config.src
|
||||||
+++ b/miscutils/Config.src
|
+++ b/miscutils/Config.src
|
||||||
@@ -463,6 +463,11 @@ config FEATURE_HDPARM_HDIO_GETSET_DMA
|
@@ -465,6 +465,11 @@ config FEATURE_HDPARM_HDIO_GETSET_DMA
|
||||||
help
|
help
|
||||||
Enables the 'hdparm -d' option to get/set using_dma flag.
|
Enables the 'hdparm -d' option to get/set using_dma flag.
|
||||||
|
|
||||||
|
@ -33,10 +33,10 @@
|
||||||
+
|
+
|
||||||
config MAKEDEVS
|
config MAKEDEVS
|
||||||
bool "makedevs"
|
bool "makedevs"
|
||||||
default n
|
default y
|
||||||
--- a/miscutils/Kbuild.src
|
--- a/miscutils/Kbuild.src
|
||||||
+++ b/miscutils/Kbuild.src
|
+++ b/miscutils/Kbuild.src
|
||||||
@@ -27,6 +27,7 @@ lib-$(CONFIG_INOTIFYD) += inotifyd.o
|
@@ -29,6 +29,7 @@ lib-$(CONFIG_INOTIFYD) += inotifyd.o
|
||||||
lib-$(CONFIG_FEATURE_LAST_SMALL)+= last.o
|
lib-$(CONFIG_FEATURE_LAST_SMALL)+= last.o
|
||||||
lib-$(CONFIG_FEATURE_LAST_FANCY)+= last_fancy.o
|
lib-$(CONFIG_FEATURE_LAST_FANCY)+= last_fancy.o
|
||||||
lib-$(CONFIG_LESS) += less.o
|
lib-$(CONFIG_LESS) += less.o
|
||||||
|
|
|
@ -10,16 +10,16 @@
|
||||||
#define httpd_full_usage "\n\n" \
|
#define httpd_full_usage "\n\n" \
|
||||||
"Listen for incoming HTTP requests\n" \
|
"Listen for incoming HTTP requests\n" \
|
||||||
"\nOptions:" \
|
"\nOptions:" \
|
||||||
@@ -2319,6 +2320,9 @@ INSERT
|
@@ -2321,6 +2322,9 @@ INSERT
|
||||||
#define loadkmap_example_usage \
|
|
||||||
"$ loadkmap < /etc/i18n/lang-keymap\n"
|
|
||||||
|
|
||||||
|
#define lock_trivial_usage NOUSAGE_STR
|
||||||
|
#define lock_full_usage ""
|
||||||
|
+
|
||||||
+#define lock_trivial_usage NOUSAGE_STR
|
+#define lock_trivial_usage NOUSAGE_STR
|
||||||
+#define lock_full_usage ""
|
+#define lock_full_usage ""
|
||||||
+
|
|
||||||
#define logger_trivial_usage \
|
#define logger_trivial_usage \
|
||||||
"[OPTIONS] [MESSAGE]"
|
"[OPTIONS] [MESSAGE]"
|
||||||
#define logger_full_usage "\n\n" \
|
|
||||||
--- a/networking/httpd.c
|
--- a/networking/httpd.c
|
||||||
+++ b/networking/httpd.c
|
+++ b/networking/httpd.c
|
||||||
@@ -250,6 +250,8 @@ struct globals {
|
@@ -250,6 +250,8 @@ struct globals {
|
||||||
|
@ -53,7 +53,7 @@
|
||||||
(g_query ? "?" : ""),
|
(g_query ? "?" : ""),
|
||||||
(g_query ? g_query : ""));
|
(g_query ? g_query : ""));
|
||||||
}
|
}
|
||||||
@@ -1941,8 +1948,12 @@ static void handle_incoming_and_exit(con
|
@@ -1942,8 +1949,12 @@ static void handle_incoming_and_exit(con
|
||||||
} while (*++tptr);
|
} while (*++tptr);
|
||||||
*++urlp = '\0'; /* terminate after last character */
|
*++urlp = '\0'; /* terminate after last character */
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
--- a/networking/httpd.c
|
--- a/networking/httpd.c
|
||||||
+++ b/networking/httpd.c
|
+++ b/networking/httpd.c
|
||||||
@@ -1254,10 +1254,10 @@ static NOINLINE void cgi_io_loop_and_exi
|
@@ -1255,10 +1255,10 @@ static NOINLINE void cgi_io_loop_and_exi
|
||||||
if (full_write(STDOUT_FILENO, HTTP_200, sizeof(HTTP_200)-1) != sizeof(HTTP_200)-1)
|
if (full_write(STDOUT_FILENO, HTTP_200, sizeof(HTTP_200)-1) != sizeof(HTTP_200)-1)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
--- a/networking/httpd.c
|
--- a/networking/httpd.c
|
||||||
+++ b/networking/httpd.c
|
+++ b/networking/httpd.c
|
||||||
@@ -1827,6 +1827,7 @@ static void handle_incoming_and_exit(con
|
@@ -1828,6 +1828,7 @@ static void handle_incoming_and_exit(con
|
||||||
char *header_ptr = header_ptr;
|
char *header_ptr = header_ptr;
|
||||||
Htaccess_Proxy *proxy_entry;
|
Htaccess_Proxy *proxy_entry;
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -98,9 +98,9 @@
|
||||||
+ return ret;
|
+ return ret;
|
||||||
+}
|
+}
|
||||||
|
|
||||||
int insmod_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
|
/* 2.6 style insmod has no options and required filename
|
||||||
int insmod_main(int argc UNUSED_PARAM, char **argv)
|
* (not module name - .ko can't be omitted) */
|
||||||
@@ -33,9 +126,15 @@ int insmod_main(int argc UNUSED_PARAM, c
|
@@ -55,9 +148,15 @@ int insmod_main(int argc UNUSED_PARAM, c
|
||||||
if (!filename)
|
if (!filename)
|
||||||
bb_show_usage();
|
bb_show_usage();
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
--- a/networking/udhcp/dhcpc.c
|
--- a/networking/udhcp/dhcpc.c
|
||||||
+++ b/networking/udhcp/dhcpc.c
|
+++ b/networking/udhcp/dhcpc.c
|
||||||
@@ -76,7 +76,6 @@ static void perform_renew(void)
|
@@ -711,7 +711,6 @@ static void perform_renew(void)
|
||||||
state = RENEW_REQUESTED;
|
state = RENEW_REQUESTED;
|
||||||
break;
|
break;
|
||||||
case RENEW_REQUESTED: /* impatient are we? fine, square 1 */
|
case RENEW_REQUESTED: /* impatient are we? fine, square 1 */
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
--- a/networking/telnetd.c
|
--- a/networking/telnetd.c
|
||||||
+++ b/networking/telnetd.c
|
+++ b/networking/telnetd.c
|
||||||
@@ -308,6 +308,7 @@ make_new_session(
|
@@ -313,6 +313,7 @@ make_new_session(
|
||||||
|
|
||||||
/* Restore default signal handling ASAP */
|
/* Restore default signal handling ASAP */
|
||||||
bb_signals((1 << SIGCHLD) + (1 << SIGPIPE), SIG_DFL);
|
bb_signals((1 << SIGCHLD) + (1 << SIGPIPE), SIG_DFL);
|
||||||
+ signal(SIGINT, SIG_DFL);
|
+ signal(SIGINT, SIG_DFL);
|
||||||
|
|
||||||
/* Make new session and process group */
|
if (ENABLE_FEATURE_UTMP) {
|
||||||
setsid();
|
len_and_sockaddr *lsa = get_peer_lsa(sock);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
--- a/modutils/insmod.c
|
--- a/modutils/insmod.c
|
||||||
+++ b/modutils/insmod.c
|
+++ b/modutils/insmod.c
|
||||||
@@ -107,7 +107,7 @@ int insmod_main(int argc, char **argv) M
|
@@ -129,7 +129,7 @@ int insmod_main(int argc, char **argv) M
|
||||||
int insmod_main(int argc UNUSED_PARAM, char **argv)
|
int insmod_main(int argc UNUSED_PARAM, char **argv)
|
||||||
{
|
{
|
||||||
char *filename;
|
char *filename;
|
||||||
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
/* Compat note:
|
/* Compat note:
|
||||||
* 2.6 style insmod has no options and required filename
|
* 2.6 style insmod has no options and required filename
|
||||||
@@ -117,10 +117,8 @@ int insmod_main(int argc UNUSED_PARAM, c
|
@@ -139,10 +139,8 @@ int insmod_main(int argc UNUSED_PARAM, c
|
||||||
* or in $MODPATH.
|
* or in $MODPATH.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@
|
||||||
|
|
||||||
filename = *++argv;
|
filename = *++argv;
|
||||||
if (!filename)
|
if (!filename)
|
||||||
@@ -131,7 +129,7 @@ int insmod_main(int argc UNUSED_PARAM, c
|
@@ -153,7 +151,7 @@ int insmod_main(int argc UNUSED_PARAM, c
|
||||||
goto done;
|
goto done;
|
||||||
|
|
||||||
rc = bb_init_module(g_filename, parse_cmdline_module_options(argv));
|
rc = bb_init_module(g_filename, parse_cmdline_module_options(argv));
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
--- a/debianutils/mktemp.ci
|
--- a/debianutils/mktemp.c
|
||||||
+++ b/debianutils/mktemp.c
|
+++ b/debianutils/mktemp.c
|
||||||
@@ -50,7 +50,7 @@ int mktemp_main(int argc UNUSED_PARAM, c
|
@@ -50,7 +50,7 @@ int mktemp_main(int argc UNUSED_PARAM, c
|
||||||
opts = getopt32(argv, "dqtp:", &path);
|
opts = getopt32(argv, "dqtp:", &path);
|
||||||
|
|
|
@ -42,9 +42,8 @@
|
||||||
opt = getopt32(argv, "irne:f:", &opt_e, &opt_f,
|
opt = getopt32(argv, "irne:f:", &opt_e, &opt_f,
|
||||||
&G.be_quiet); /* counter for -n */
|
&G.be_quiet); /* counter for -n */
|
||||||
//argc -= optind;
|
//argc -= optind;
|
||||||
diff -urpN busybox-1.17.1/testsuite/sed.tests busybox-1.17.1-sed/testsuite/sed.tests
|
--- a/testsuite/sed.tests
|
||||||
--- busybox-1.17.1/testsuite/sed.tests 2010-07-06 04:25:54.000000000 +0200
|
+++ b/testsuite/sed.tests
|
||||||
+++ busybox-1.17.1-sed/testsuite/sed.tests 2010-08-01 04:19:26.000000000 +0200
|
|
||||||
@@ -270,11 +270,16 @@ testing "sed a cmd ended by double backs
|
@@ -270,11 +270,16 @@ testing "sed a cmd ended by double backs
|
||||||
| two \\
|
| two \\
|
||||||
'
|
'
|
||||||
|
|
|
@ -8,14 +8,12 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Lives far away from here, needed for forkchild */
|
/* Lives far away from here, needed for forkchild */
|
||||||
diff -urpN busybox-1.17.1/shell/ash_test/ash-signals/signal7.right busybox-1.17.1-shell/shell/ash_test/ash-signals/signal7.right
|
--- /dev/null
|
||||||
--- busybox-1.17.1/shell/ash_test/ash-signals/signal7.right 1970-01-01 01:00:00.000000000 +0100
|
+++ b/shell/ash_test/ash-signals/signal7.right
|
||||||
+++ busybox-1.17.1-shell/shell/ash_test/ash-signals/signal7.right 2010-07-25 13:09:32.000000000 +0200
|
|
||||||
@@ -0,0 +1 @@
|
@@ -0,0 +1 @@
|
||||||
+Bug detected: 0
|
+Bug detected: 0
|
||||||
diff -urpN busybox-1.17.1/shell/ash_test/ash-signals/signal7.tests busybox-1.17.1-shell/shell/ash_test/ash-signals/signal7.tests
|
--- /dev/null
|
||||||
--- busybox-1.17.1/shell/ash_test/ash-signals/signal7.tests 1970-01-01 01:00:00.000000000 +0100
|
+++ b/shell/ash_test/ash-signals/signal7.tests
|
||||||
+++ busybox-1.17.1-shell/shell/ash_test/ash-signals/signal7.tests 2010-07-25 13:09:32.000000000 +0200
|
|
||||||
@@ -0,0 +1,18 @@
|
@@ -0,0 +1,18 @@
|
||||||
+bug() {
|
+bug() {
|
||||||
+ trap : exit
|
+ trap : exit
|
||||||
|
@ -35,9 +33,8 @@ diff -urpN busybox-1.17.1/shell/ash_test/ash-signals/signal7.tests busybox-1.17.
|
||||||
+&& test x"$REAL_CHILD" = x"$PARENTS_IDEA_OF_CHILD"
|
+&& test x"$REAL_CHILD" = x"$PARENTS_IDEA_OF_CHILD"
|
||||||
+echo "Bug detected: $?"
|
+echo "Bug detected: $?"
|
||||||
+}
|
+}
|
||||||
diff -urpN busybox-1.17.1/shell/hush.c busybox-1.17.1-shell/shell/hush.c
|
--- a/shell/hush.c
|
||||||
--- busybox-1.17.1/shell/hush.c 2010-07-25 00:12:43.000000000 +0200
|
+++ b/shell/hush.c
|
||||||
+++ busybox-1.17.1-shell/shell/hush.c 2010-07-25 13:09:32.000000000 +0200
|
|
||||||
@@ -3901,8 +3901,6 @@ static void insert_bg_job(struct pipe *p
|
@@ -3901,8 +3901,6 @@ static void insert_bg_job(struct pipe *p
|
||||||
|
|
||||||
if (G_interactive_fd)
|
if (G_interactive_fd)
|
||||||
|
@ -56,14 +53,12 @@ diff -urpN busybox-1.17.1/shell/hush.c busybox-1.17.1-shell/shell/hush.c
|
||||||
G.last_exitcode = rcode = EXIT_SUCCESS;
|
G.last_exitcode = rcode = EXIT_SUCCESS;
|
||||||
debug_printf_exec(": cmd&: exitcode EXIT_SUCCESS\n");
|
debug_printf_exec(": cmd&: exitcode EXIT_SUCCESS\n");
|
||||||
} else {
|
} else {
|
||||||
diff -urpN busybox-1.17.1/shell/hush_test/hush-trap/signal7.right busybox-1.17.1-shell/shell/hush_test/hush-trap/signal7.right
|
--- /dev/null
|
||||||
--- busybox-1.17.1/shell/hush_test/hush-trap/signal7.right 1970-01-01 01:00:00.000000000 +0100
|
+++ b/shell/hush_test/hush-trap/signal7.right
|
||||||
+++ busybox-1.17.1-shell/shell/hush_test/hush-trap/signal7.right 2010-07-25 13:09:32.000000000 +0200
|
|
||||||
@@ -0,0 +1 @@
|
@@ -0,0 +1 @@
|
||||||
+Bug detected: 0
|
+Bug detected: 0
|
||||||
diff -urpN busybox-1.17.1/shell/hush_test/hush-trap/signal7.tests busybox-1.17.1-shell/shell/hush_test/hush-trap/signal7.tests
|
--- /dev/null
|
||||||
--- busybox-1.17.1/shell/hush_test/hush-trap/signal7.tests 1970-01-01 01:00:00.000000000 +0100
|
+++ b/shell/hush_test/hush-trap/signal7.tests
|
||||||
+++ busybox-1.17.1-shell/shell/hush_test/hush-trap/signal7.tests 2010-07-25 13:09:32.000000000 +0200
|
|
||||||
@@ -0,0 +1,18 @@
|
@@ -0,0 +1,18 @@
|
||||||
+bug() {
|
+bug() {
|
||||||
+ trap : exit
|
+ trap : exit
|
||||||
|
@ -83,9 +78,8 @@ diff -urpN busybox-1.17.1/shell/hush_test/hush-trap/signal7.tests busybox-1.17.1
|
||||||
+&& test x"$REAL_CHILD" = x"$PARENTS_IDEA_OF_CHILD"
|
+&& test x"$REAL_CHILD" = x"$PARENTS_IDEA_OF_CHILD"
|
||||||
+echo "Bug detected: $?"
|
+echo "Bug detected: $?"
|
||||||
+}
|
+}
|
||||||
diff -urpN busybox-1.17.1/shell/shell_common.c busybox-1.17.1-shell/shell/shell_common.c
|
--- a/shell/shell_common.c
|
||||||
--- busybox-1.17.1/shell/shell_common.c 2010-07-06 04:25:54.000000000 +0200
|
+++ b/shell/shell_common.c
|
||||||
+++ busybox-1.17.1-shell/shell/shell_common.c 2010-07-27 08:41:43.000000000 +0200
|
|
||||||
@@ -428,9 +428,14 @@ shell_builtin_ulimit(char **argv)
|
@@ -428,9 +428,14 @@ shell_builtin_ulimit(char **argv)
|
||||||
val <<= l->factor_shift;
|
val <<= l->factor_shift;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue