aboutsummaryrefslogtreecommitdiffstats
path: root/package/busybox/patches/991-upstream_logger_fix.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-11-10 16:51:11 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-11-10 16:51:11 +0000
commit8fba43d0f136bdd7414ce94587d89c7a9e2b0900 (patch)
tree161f89573c5ea33c47d060a1a75a03f4fbaeddc7 /package/busybox/patches/991-upstream_logger_fix.patch
parentfe6294e21cc6924e5148863b9b3060eb9ef05cd1 (diff)
downloadupstream-8fba43d0f136bdd7414ce94587d89c7a9e2b0900.tar.gz
upstream-8fba43d0f136bdd7414ce94587d89c7a9e2b0900.tar.bz2
upstream-8fba43d0f136bdd7414ce94587d89c7a9e2b0900.zip
upgrade busybox to 1.8.1
SVN-Revision: 9524
Diffstat (limited to 'package/busybox/patches/991-upstream_logger_fix.patch')
-rw-r--r--package/busybox/patches/991-upstream_logger_fix.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/package/busybox/patches/991-upstream_logger_fix.patch b/package/busybox/patches/991-upstream_logger_fix.patch
deleted file mode 100644
index f225a1b601..0000000000
--- a/package/busybox/patches/991-upstream_logger_fix.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-Index: busybox-1.7.2/sysklogd/logger.c
-===================================================================
---- busybox-1.7.2.orig/sysklogd/logger.c 2007-10-30 15:34:59.000000000 -0500
-+++ busybox-1.7.2/sysklogd/logger.c 2007-10-30 15:35:07.000000000 -0500
-@@ -107,7 +107,7 @@
- argv += optind;
- if (!argc) {
- #define strbuf bb_common_bufsiz1
-- while (fgets(strbuf, BUFSIZ, stdin)) {
-+ while (fgets(strbuf, COMMON_BUFSIZE, stdin)) {
- if (strbuf[0]
- && NOT_LONE_CHAR(strbuf, '\n')
- ) {
-@@ -117,11 +117,11 @@
- }
- } else {
- char *message = NULL;
-- int len = 1; /* for NUL */
-+ int len = 0;
- int pos = 0;
- do {
- len += strlen(*argv) + 1;
-- message = xrealloc(message, len);
-+ message = xrealloc(message, len + 1);
- sprintf(message + pos, " %s", *argv),
- pos = len;
- } while (*++argv);