From 7c54beb870cc7fb50c8a77689dab589d7cb90fb8 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Fri, 21 Mar 2008 10:14:15 +0000 Subject: [PATCH] busybox: bump version (1.9.2) --- package/busybox/Config.in | 2 +- .../busybox/busybox-1.9.1-httpd-POST.patch | 11 -------- package/busybox/busybox-1.9.1-init.patch | 27 ------------------- package/busybox/busybox-1.9.1-lineedit.patch | 19 ------------- 4 files changed, 1 insertion(+), 58 deletions(-) delete mode 100644 package/busybox/busybox-1.9.1-httpd-POST.patch delete mode 100644 package/busybox/busybox-1.9.1-init.patch delete mode 100644 package/busybox/busybox-1.9.1-lineedit.patch diff --git a/package/busybox/Config.in b/package/busybox/Config.in index fe4d4e8358..daf33d265c 100644 --- a/package/busybox/Config.in +++ b/package/busybox/Config.in @@ -46,7 +46,7 @@ config BR2_BUSYBOX_VERSION default "1.6.1" if BR2_BUSYBOX_VERSION_1_6_1 default "1.7.4" if BR2_BUSYBOX_VERSION_1_7_X default "1.8.2" if BR2_BUSYBOX_VERSION_1_8_X - default "1.9.1" if BR2_BUSYBOX_VERSION_1_9_X + default "1.9.2" if BR2_BUSYBOX_VERSION_1_9_X config BR2_PACKAGE_BUSYBOX_INSTALL_SYMLINKS diff --git a/package/busybox/busybox-1.9.1-httpd-POST.patch b/package/busybox/busybox-1.9.1-httpd-POST.patch deleted file mode 100644 index 6a70c82557..0000000000 --- a/package/busybox/busybox-1.9.1-httpd-POST.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- busybox-1.9.1/networking/httpd.c Tue Feb 12 17:03:01 2008 -+++ busybox-1.9.1-httpd-POST/networking/httpd.c Mon Mar 17 13:58:09 2008 -@@ -1950,7 +1950,7 @@ - if ((STRNCASECMP(iobuf, "Content-length:") == 0)) { - /* extra read only for POST */ - if (prequest != request_GET) { -- tptr = iobuf + sizeof("Content-length:") - 1; -+ tptr = tptr = skip_whitespace(iobuf + sizeof("Content-length:") - 1); - if (!tptr[0]) - send_headers_and_exit(HTTP_BAD_REQUEST); - errno = 0; diff --git a/package/busybox/busybox-1.9.1-init.patch b/package/busybox/busybox-1.9.1-init.patch deleted file mode 100644 index be86cbe2f5..0000000000 --- a/package/busybox/busybox-1.9.1-init.patch +++ /dev/null @@ -1,27 +0,0 @@ ---- busybox-1.9.1/init/init.c Tue Feb 12 17:03:12 2008 -+++ busybox-1.9.1-init/init/init.c Mon Mar 17 14:19:41 2008 -@@ -225,8 +225,22 @@ - } - messageD(L_LOG, "console='%s'", s); - } else { -- /* Make sure fd 0,1,2 are not closed */ -- bb_sanitize_stdio(); -+ /* Make sure fd 0,1,2 are not closed -+ * (so that they won't be used by future opens) */ -+ -+ /* bb_sanitize_stdio(); - WRONG. -+ * Fail if "/dev/null" doesnt exist, and for init -+ * this is a real possibility! Open code it instead. */ -+ -+ int fd = open(bb_dev_null, O_RDWR); -+ if (fd < 0) { -+ /* Give me _ANY_ open descriptor! */ -+ fd = xopen("/", O_RDONLY); /* we don't believe this can fail */ -+ } -+ while ((unsigned)fd < 2) -+ fd = dup(fd); -+ if (fd > 2) -+ close (fd); - } - - s = getenv("TERM"); diff --git a/package/busybox/busybox-1.9.1-lineedit.patch b/package/busybox/busybox-1.9.1-lineedit.patch deleted file mode 100644 index 6f42a8e3b4..0000000000 --- a/package/busybox/busybox-1.9.1-lineedit.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- busybox-1.9.1/libbb/lineedit.c Tue Feb 12 17:10:25 2008 -+++ busybox-1.9.1-lineedit/libbb/lineedit.c Mon Feb 18 23:26:54 2008 -@@ -246,7 +246,15 @@ - if (cmdedit_x >= num) { - cmdedit_x -= num; - if (num <= 4) { -- printf("\b\b\b\b" + (4-num)); -+ /* This is longer by 5 bytes on x86. -+ * Also gets mysteriously -+ * miscompiled for some ARM users. -+ * printf(("\b\b\b\b" + 4) - num); -+ * return; -+ */ -+ do { -+ bb_putchar('\b'); -+ } while (--num); - return; - } - printf("\033[%uD", num); -- 2.30.2