blob: 1459951e246eda19cf7c2aa83058bca350f93c0b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
From 3f65494a4cb2544eb16af3fa64a161bd8142f487 Mon Sep 17 00:00:00 2001
From: Rich Felker <dalias@aerifal.cx>
Date: Tue, 13 Jan 2015 17:04:38 +0000
Subject: increase syslog message limit from 256 to 1024
this addresses alpine linux issue #3692 and brings the syslog message
length limit in alignment with uclibc's implementation.
---
diff --git a/src/misc/syslog.c b/src/misc/syslog.c
index fbce4bc..d587499 100644
--- 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;
--
cgit v0.9.0.3-65-g4555
|