increase syslog message limit from 256 to 1024
authorRich Felker <dalias@aerifal.cx>
Tue, 13 Jan 2015 17:04:38 +0000 (12:04 -0500)
committerRich 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

index fbce4bcd4011f826fde592bc86d1a57b524914d9..d587499112c3ada00b7bfa0a744c1d756cf1ef3f 100644 (file)
@@ -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;