diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2008-11-29 20:12:17 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2008-11-29 20:12:17 +0000 |
commit | 026a3581ae29af72d387e2991ef19d7d6de42789 (patch) | |
tree | 624a15e5e7674340f4a6f83495bf975fe06b6a82 /package/busybox/busybox-1.13.0-klogd.patch | |
parent | 5432f26f0e78fc74a599a596c90a3b8f02963c13 (diff) |
busybox: bump 1.12.x / 1.13.x versions
Diffstat (limited to 'package/busybox/busybox-1.13.0-klogd.patch')
-rw-r--r-- | package/busybox/busybox-1.13.0-klogd.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/package/busybox/busybox-1.13.0-klogd.patch b/package/busybox/busybox-1.13.0-klogd.patch deleted file mode 100644 index e42abf15c..000000000 --- a/package/busybox/busybox-1.13.0-klogd.patch +++ /dev/null @@ -1,29 +0,0 @@ ---- busybox-1.13.0/sysklogd/klogd.c Thu Oct 30 08:41:28 2008 -+++ busybox-1.13.0-klogd/sysklogd/klogd.c Thu Nov 20 00:46:00 2008 -@@ -73,9 +73,6 @@ - - syslog(LOG_NOTICE, "klogd started: %s", bb_banner); - -- /* Initially null terminate the buffer in case of a very long line */ -- log_buffer[KLOGD_LOGBUF_SIZE - 1] = '\0'; -- - while (1) { - int n; - int priority; -@@ -89,6 +86,7 @@ - errno); - break; - } -+ log_buffer[used + n] = '\0'; - - /* klogctl buffer parsing modelled after code in dmesg.c */ - start = &log_buffer[0]; -@@ -101,7 +99,7 @@ - /* This line is incomplete... */ - if (start != log_buffer) { - /* move it to the front of the buffer */ -- strcpy(log_buffer, start); -+ overlapping_strcpy(log_buffer, start); - /* don't log it yet */ - used = strlen(log_buffer); - break; |