summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-11-30 11:51:32 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2009-11-30 11:51:32 +0100
commit4cc7a7c16c99a41153c6161f8ba200fae9703c99 (patch)
tree30294cf34e0e9ad7cfa1341d8400544a041d0824
parent3056c15ef4d1d7b73a9591347cf0cef76c020792 (diff)
parentcf1275d846783d84cc46de103108a899d3907f8c (diff)
downloadrsyslog-4cc7a7c16c99a41153c6161f8ba200fae9703c99.tar.gz
rsyslog-4cc7a7c16c99a41153c6161f8ba200fae9703c99.tar.xz
rsyslog-4cc7a7c16c99a41153c6161f8ba200fae9703c99.zip
Merge branch 'v4-stable' into v4-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 2fe14190..e493e857 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -439,6 +439,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 bea94e99..209adc51 100644
--- a/tools/omfile.c
+++ b/tools/omfile.c
@@ -96,7 +96,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? */