summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-11-30 12:02:27 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2009-11-30 12:02:27 +0100
commitd695383cd65b01dc9be1ee1873588708366aa5ed (patch)
tree1bb37606f59937b64653507cd1c29bda221b061c
parente5fe270bdbcfbdd22cf9dcc71e7a83b6cc88a979 (diff)
parent5a0bd837e9ea203d6a427d61c869b44c25bf44cf (diff)
downloadrsyslog-d695383cd65b01dc9be1ee1873588708366aa5ed.tar.gz
rsyslog-d695383cd65b01dc9be1ee1873588708366aa5ed.tar.xz
rsyslog-d695383cd65b01dc9be1ee1873588708366aa5ed.zip
Merge branch 'v5-stable' into beta
-rw-r--r--ChangeLog2
-rw-r--r--tools/omfile.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 3070fcc5..86131155 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -732,6 +732,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? */