summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-11-30 11:51:20 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2009-11-30 11:51:20 +0100
commitcf1275d846783d84cc46de103108a899d3907f8c (patch)
tree47677ed6fece9f8a5c3c3c4627613b615870c876
parentd8b3669e6d790c916afc0fa228e3cd7ac8d40063 (diff)
parent7b40604e9ae8a0948f17eafd4299eeb7fb3356c2 (diff)
downloadrsyslog-cf1275d846783d84cc46de103108a899d3907f8c.tar.gz
rsyslog-cf1275d846783d84cc46de103108a899d3907f8c.tar.xz
rsyslog-cf1275d846783d84cc46de103108a899d3907f8c.zip
Merge branch 'v3-stable' into v4-stable
-rw-r--r--ChangeLog2
-rw-r--r--tools/omfile.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 63facfa8..3fbb3c07 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -269,6 +269,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 3e845a73..0067854e 100644
--- a/tools/omfile.c
+++ b/tools/omfile.c
@@ -84,7 +84,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 uchar *pszTplName = NULL; /* name of the default template to use */
/* end globals for default values */