diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-11-30 11:57:49 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-11-30 11:57:49 +0100 |
commit | c3f07d9dda55a993aebeb4fbb05f1d597de46eaa (patch) | |
tree | 0e66ed079b6ce38a5b05c859eea833aee6f14b28 | |
parent | 26893eb8edfa38fb06c61379919a817dadf01615 (diff) | |
parent | 4cc7a7c16c99a41153c6161f8ba200fae9703c99 (diff) | |
download | rsyslog-c3f07d9dda55a993aebeb4fbb05f1d597de46eaa.tar.gz rsyslog-c3f07d9dda55a993aebeb4fbb05f1d597de46eaa.tar.xz rsyslog-c3f07d9dda55a993aebeb4fbb05f1d597de46eaa.zip |
Merge branch 'v4-beta' into v4-devel
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | tools/omfile.c | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -460,6 +460,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 82548247..2c547b2b 100644 --- a/tools/omfile.c +++ b/tools/omfile.c @@ -98,7 +98,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? */ |