From 7b40604e9ae8a0948f17eafd4299eeb7fb3356c2 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Mon, 30 Nov 2009 11:50:57 +0100 Subject: bugfix: $CreateDirs variable not properly initialized default thus was random (but most often "on") --- ChangeLog | 2 ++ tools/omfile.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 0c6810ed..67d056a2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -9,6 +9,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 fb83632a..d6bc23e7 100644 --- a/tools/omfile.c +++ b/tools/omfile.c @@ -80,7 +80,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 */ -- cgit From bdce4afc84d4355398a845fae37f5e183a230a46 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Mon, 30 Nov 2009 12:02:59 +0100 Subject: cosmetic: mentioned imported patch in ChangeLog --- ChangeLog | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ChangeLog b/ChangeLog index 86131155..20d24026 100644 --- a/ChangeLog +++ b/ChangeLog @@ -8,6 +8,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 -- cgit