Package: unixodbc
Version: 2.3.1-1
Severity: normal
Tags: patch
Dear Maintainer,
I tried to switch off logging and at the next start I found files <pid>.log
inside the working directory
I tried all funny configuration-ideas regarding studies of internet howtos.
Then I studied the sources. ;-)
>>>Start patch
diff -Nurp unixodbc-2.3.1/DriverManager/__info.c
unixodbc-2.3.1a/DriverManager/__info.c
--- unixodbc-2.3.1/DriverManager/__info.c 2011-11-15 12:43:15.000000000
+0100
+++ unixodbc-2.3.1a/DriverManager/__info.c 2014-03-02 16:47:58.937450996
+0100
@@ -470,7 +470,7 @@
static char const rcsid[]= "$RCSfile: __info.c,v $ $Revision: 1.50 $";
-struct log_structure log_info = { NULL, NULL, 0 };
+struct log_structure log_info = { NULL, NULL, 0, 0 };
SQLINTEGER ODBCSharedTraceFlag = 0;
<<<End patch
Description: log_info.pid_logging is uninitialized and very rarely zero.
Logging Configuration will just changed
when you switch it on. Since default is all logging "off", nothing is
overwritten when you switch it off explicitly.
Best regards,
Andreas Schigold
-- System Information:
Debian Release: jessie/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.12-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages unixodbc depends on:
ii libc6 2.17-97
ii libodbc1 2.3.1-1
ii libreadline6 6.2+dfsg-0.1
ii odbcinst1debian2 2.3.1-1
unixodbc recommends no packages.
unixodbc suggests no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]