Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Tsdrr-000660-4H for pgsql-odbc@arkaria.postgresql.org; Tue, 08 Jan 2013 18:25:43 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1Tsdrp-0007Mm-NU for pgsql-odbc@arkaria.postgresql.org; Tue, 08 Jan 2013 18:25:41 +0000 Received: from magus.postgresql.org ([87.238.57.229]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Tsdrp-0007Mh-8a for pgsql-odbc@postgresql.org; Tue, 08 Jan 2013 18:25:41 +0000 Received: from smtp-outbound-1.vmware.com ([208.91.2.12]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Tsdrl-0002OF-HT for pgsql-odbc@postgresql.org; Tue, 08 Jan 2013 18:25:39 +0000 Received: from sc9-mailhost2.vmware.com (sc9-mailhost2.vmware.com [10.113.161.72]) by smtp-outbound-1.vmware.com (Postfix) with ESMTP id 5B248283AA for ; Tue, 8 Jan 2013 10:25:34 -0800 (PST) Received: from zcs-prod-mta-2.vmware.com (zcs-prod-mta-2.vmware.com [10.113.163.64]) by sc9-mailhost2.vmware.com (Postfix) with ESMTP id 56F19B03DA for ; Tue, 8 Jan 2013 10:25:34 -0800 (PST) Received: from zcs-prod-mta-2.vmware.com (localhost.localdomain [127.0.0.1]) by zcs-prod-mta-2.vmware.com (Postfix) with ESMTP id 3E9C7E0040 for ; Tue, 8 Jan 2013 10:25:34 -0800 (PST) Received: from [10.113.226.56] (unknown [10.113.160.14]) by zcs-prod-mta-2.vmware.com (Postfix) with ESMTPSA for ; Tue, 8 Jan 2013 10:25:32 -0800 (PST) Message-ID: <50EC64A5.10702@vmware.com> Date: Tue, 08 Jan 2013 20:25:41 +0200 From: Heikki Linnakangas Organization: VMware User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.11) Gecko/20121122 Icedove/10.0.11 MIME-Version: 1.0 To: pgsql-odbc@postgresql.org Subject: Source code cleanup Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -6.9 (------) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org I'm getting a bunch of compiler warnings when I compile the latest psqlodbc sources from CVS. I spent some time cleaning those up. I also got access to a report of a Coverity scan over psqlodbc source tree. That found a bunch of additional issues, some of which were genuine (minor) bugs. I'm still in the process of going through the report, but I fixed some bugs already. I also wrote a small regression test suite to test with. It only tests a few of the ODBC functions at the moment, but it's better than nothing, and it can be easily extended. What do others use for testing psqlodbc? I pushed the result to a git repository at git@github.com:hlinnaka/psqlodbc.git. It contains the psqlodbc CVS history, as converted by git cvsimport, and my changes as commits on top of that. I can also send the changes as patches if that's preferred. Let me know how to proceed. - Heikki -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc