fixes for psqlodbc-07.03.20 part 2 of 2 - Mailing list pgsql-odbc

From Hartmut Raschick
Subject fixes for psqlodbc-07.03.20 part 2 of 2
Date
Msg-id 3FBB4C17.3E79E30F@ke-elektronik.de
Whole thread Raw
List pgsql-odbc
MIND PART 1

Here are my updates/fixes for version 07.03.200.
Details:
- EINTR safety for send/recv, NOT4WIN
- init vars before using them (most prominently in
  dlg_specific.c::SQLGetPrivateProfileString calls),
- avoid those notorious core dumps when logging on hitting
  "null" data... in result.c
- make 07.03.200 work with the new mutex_locks
- may use -DHAVE_ECO_THREAD_LOCKS, if you use libiodbc (or similar)
  which already shells every driver call in mutex_locks
- using the driver (in conjunction w/libiodbc) on Solaris in a
  threaded environment (thus --enable-pthreads) we also found that
  -DHAVE_LOCALTIME_R is a good idea, also configure does not auto-
  link libsocket which is needed anyway... (mind libnsl when not
  threaded)

please also read included README (which is a HISTORY as well)

P.S.: Not every question deserves an answer.
        - Puvlilius Syrus, Senentiae

--
Hartmut "Hardy" Raschick / Dept. t2
ke Kommunikations-Elektronik GmbH
Wohlenberstr. 3, 30179 Hannover
Phone: ++49 (0)511 6747-564
Fax: ++49 (0)511 6747-340
e-Mail: hartmut.raschick@ke-elektronik.de
http://www.ke-elektronik.de

Attachment

pgsql-odbc by date:

Previous
From: Hartmut Raschick
Date:
Subject: fixes for psqlodbc-07.03.200 part 1 of 2
Next
From: Hartmut Raschick
Date:
Subject: bugs in 07.03.200