summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-10-08 16:43:09 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-10-08 16:43:09 +0200
commit4c14bfdc2311b04786d585912795bc08e2498d3b (patch)
tree016cea3e134a3f973c70635ff118ac6499f66c0f
parent5625dbd1b6cddb8b84d8a3d8c60f95eaaa49be66 (diff)
parent17e24eae733a0bce0eda65947e7559a05c91fc9c (diff)
downloadrsyslog-4c14bfdc2311b04786d585912795bc08e2498d3b.tar.gz
rsyslog-4c14bfdc2311b04786d585912795bc08e2498d3b.tar.xz
rsyslog-4c14bfdc2311b04786d585912795bc08e2498d3b.zip
Merge branch 'v4-beta' into beta
-rw-r--r--ChangeLog2
-rw-r--r--runtime/debug.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 2ffc67a1..f7322eb8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -138,6 +138,8 @@ Version 4.5.6 [v4-beta] (rgerhards), 2009-09-??
Version 4.5.5 [v4-beta] (rgerhards), 2009-09-??
- added $InputTCPServerNotifyOnConnectionClose config directive
see doc for details
+- bugfix: debug string larger than 1K were improperly displayed. Max size
+ is now 32K
- bugfix: invalid storage class selected for some size config parameters.
This resulted in wrong values. The most prominent victim was the
directory creation mode, which was set to zero in some cases. For
diff --git a/runtime/debug.c b/runtime/debug.c
index fb751efb..959d56a3 100644
--- a/runtime/debug.c
+++ b/runtime/debug.c
@@ -840,7 +840,7 @@ do_dbgprint(uchar *pszObjName, char *pszMsg, size_t lenMsg)
static pthread_t ptLastThrdID = 0;
static int bWasNL = 0;
char pszThrdName[64]; /* 64 is to be on the safe side, anything over 20 is bad... */
- char pszWriteBuf[1024];
+ char pszWriteBuf[32*1024];
size_t lenWriteBuf;
struct timespec t;