Hello community, here is the log from the commit of package unixODBC checked in at Wed Nov 15 18:31:19 CET 2006. -------- --- unixODBC/unixODBC-gui-qt.changes 2006-10-18 12:09:46.000000000 +0200 +++ /mounts/work_src_done/STABLE/unixODBC/unixODBC-gui-qt.changes 2006-11-15 16:56:15.000000000 +0100 @@ -1,0 +2,6 @@ +Wed Nov 15 16:54:03 CET 2006 - anosek@suse.cz + +- fixed compiler warning: variable is used before its value is set + [#218998] (ctracing.patch) + +------------------------------------------------------------------- New: ---- unixODBC-2.2.12-ctracing.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ unixODBC-gui-qt.spec ++++++ --- /var/tmp/diff_new_pack.mFZ5DO/_old 2006-11-15 18:29:49.000000000 +0100 +++ /var/tmp/diff_new_pack.mFZ5DO/_new 2006-11-15 18:29:49.000000000 +0100 @@ -13,9 +13,9 @@ Name: unixODBC-gui-qt BuildRequires: qt3-devel Version: 2.2.12 -Release: 1 +Release: 13 Summary: ODBC Configuration Utility, Data Source Browser, and ODBC Test Tool based -License: GNU General Public License (GPL) - all versions +License: GNU General Public License (GPL) URL: http://www.unixodbc.org/ Group: Productivity/Databases/Tools Requires: unixODBC = %{version} @@ -32,6 +32,7 @@ Patch9: unixODBC-%{version}-dlopen.patch Patch10: unixODBC-%{version}-libodbcinst-exports.patch Patch11: unixODBC-%{version}-flex.patch +Patch12: unixODBC-%{version}-ctracing.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -55,6 +56,7 @@ # %%patch9 is in %%build %patch10 %patch11 +%patch12 install -m 644 %{S:1} . %build @@ -118,6 +120,9 @@ %exclude /usr/include/uodbc_extras.h %changelog -n unixODBC-gui-qt +* Wed Nov 15 2006 - anosek@suse.cz +- fixed compiler warning: variable is used before its value is set + [#218998] (ctracing.patch) * Wed Oct 18 2006 - anosek@suse.cz - updated to version 2.2.12 * bugfixes ++++++ unixODBC.spec ++++++ --- /var/tmp/diff_new_pack.mFZ5DO/_old 2006-11-15 18:29:49.000000000 +0100 +++ /var/tmp/diff_new_pack.mFZ5DO/_new 2006-11-15 18:29:49.000000000 +0100 @@ -13,9 +13,9 @@ Name: unixODBC BuildRequires: gcc-c++ Version: 2.2.12 -Release: 1 +Release: 10 Summary: ODBC driver manager with some drivers included -License: GNU General Public License (GPL) - all versions, GNU Library General Public License v. 2.0 and 2.1 (LGPL) +License: GNU General Public License (GPL), GNU Library General Public License v. 2.0 and 2.1 (LGPL) URL: http://www.unixodbc.org/ Group: Productivity/Databases/Tools Autoreqprov: on ++++++ unixODBC-2.2.12-ctracing.patch ++++++ --- odbcinstQ/CTracing.cpp +++ odbcinstQ/CTracing.cpp @@ -85,12 +85,12 @@ SQLGetPrivateProfileString( "ODBC", "Trace", "No", szTracing, sizeof(szTracing), "odbcinst.ini" ); if ( szTracing[0] == '1' || toupper( szTracing[0] ) == 'Y' - || ( toupper( szTracing[0] ) == 'O' && toupper( szForce[0] ) == 'N' )) + || ( toupper( szTracing[0] ) == 'O' && toupper( szTracing[1] ) == 'N' )) pTracing->setChecked( true ); SQLGetPrivateProfileString( "ODBC", "ForceTrace", "No", szForce, sizeof(szForce), "odbcinst.ini" ); if ( szForce[0] == '1' || toupper( szForce[0] ) == 'Y' - || ( toupper( szForce[0] ) == 'O' && toupper( szForce[0] ) == 'N' )) + || ( toupper( szForce[0] ) == 'O' && toupper( szForce[1] ) == 'N' )) pForce->setChecked( true ); SQLGetPrivateProfileString( "ODBC", "TraceFile", "/tmp/sql.log", szTracingFile, sizeof(szTracingFile)-1, "odbcinst.ini" ); @@ -98,7 +98,7 @@ SQLGetPrivateProfileString( "ODBC", "Pooling", "No", szPooling, sizeof(szPooling), "odbcinst.ini" ); if ( szPooling[0] == '1' || toupper( szPooling[0] ) == 'Y' - || ( toupper( szPooling[0] ) == 'O' && toupper( szForce[0] ) == 'N' )) + || ( toupper( szPooling[0] ) == 'O' && toupper( szPooling[1] ) == 'N' )) pPooling->setChecked( true ); connect( pSetDefault, SIGNAL(clicked()), SLOT(setDefault()) ); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org