summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-11-30 12:03:17 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2009-11-30 12:03:17 +0100
commit8b9132bc3212b8e231edc979ffec77c88d96b044 (patch)
tree8df5d499574e8314405efffc90215200c1df582d
parentb90bb3f4b30a1339ec3ec49ae0a09954740bdd07 (diff)
parentbdce4afc84d4355398a845fae37f5e183a230a46 (diff)
downloadrsyslog-8b9132bc3212b8e231edc979ffec77c88d96b044.tar.gz
rsyslog-8b9132bc3212b8e231edc979ffec77c88d96b044.tar.xz
rsyslog-8b9132bc3212b8e231edc979ffec77c88d96b044.zip
Merge branch 'beta'
-rw-r--r--ChangeLog4
-rw-r--r--tools/omfile.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e4c7e29a..a00d02dd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -37,6 +37,8 @@ Version 5.3.6 [BETA] (rgerhards), 2009-11-??
Thanks to Tomas Kubina for the patch [imgssapi]
- bugfix (kind of): check if TCP connection is still alive if using TLS
Thanks to Jonathan Bond-Caron for the patch.
+- bugfix: $CreateDirs variable not properly initialized, default thus
+ was random (but most often "on") [imported from v3]
---------------------------------------------------------------------------
Version 5.3.5 [BETA] (rgerhards), 2009-11-13
- some light performance enhancement by replacing time() call with much
@@ -767,6 +769,8 @@ Version 3.22.2 [v3-stable] (rgerhards), 2009-07-??
Thanks to Jonas Nogueira for reporting this bug.
- clarified use of $ActionsSendStreamDriver[AuthMode/PermittedPeers]
in doc set (require TLS drivers)
+- bugfix: $CreateDirs variable not properly initialized, default thus
+ was random (but most often "on")
---------------------------------------------------------------------------
Version 3.22.1 [v3-stable] (rgerhards), 2009-07-02
- bugfix: invalid error message issued if $inlcudeConfig was on an empty
diff --git a/tools/omfile.c b/tools/omfile.c
index 02bb5cf3..13bb74ad 100644
--- a/tools/omfile.c
+++ b/tools/omfile.c
@@ -116,7 +116,7 @@ static uid_t fileUID; /* UID to be used for newly created files */
static uid_t fileGID; /* GID to be used for newly created files */
static uid_t dirUID; /* UID to be used for newly created directories */
static uid_t dirGID; /* GID to be used for newly created directories */
-static int bCreateDirs; /* auto-create directories for dynaFiles: 0 - no, 1 - yes */
+static int bCreateDirs = 1;/* auto-create directories for dynaFiles: 0 - no, 1 - yes */
static int bEnableSync = 0;/* enable syncing of files (no dash in front of pathname in conf): 0 - no, 1 - yes */
static int iZipLevel = 0; /* zip compression mode (0..9 as usual) */
static bool bFlushOnTXEnd = 1;/* flush write buffers when transaction has ended? */