projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84b5c54
)
increase syslog message limit from 256 to 1024
author
Rich Felker
<dalias@aerifal.cx>
Tue, 13 Jan 2015 17:04:38 +0000
(12:04 -0500)
committer
Rich Felker
<dalias@aerifal.cx>
Tue, 13 Jan 2015 17:04:38 +0000
(12:04 -0500)
this addresses alpine linux issue #3692 and brings the syslog message
length limit in alignment with uclibc's implementation.
src/misc/syslog.c
patch
|
blob
|
history
diff --git
a/src/misc/syslog.c
b/src/misc/syslog.c
index fbce4bcd4011f826fde592bc86d1a57b524914d9..d587499112c3ada00b7bfa0a744c1d756cf1ef3f 100644
(file)
--- a/
src/misc/syslog.c
+++ b/
src/misc/syslog.c
@@
-81,7
+81,7
@@
static void _vsyslog(int priority, const char *message, va_list ap)
char timebuf[16];
time_t now;
struct tm tm;
- char buf[
256
];
+ char buf[
1024
];
int errno_save = errno;
int pid;
int l, l2;