Thread: Updated Win32 patch
Hello! Here is an update on the Win32 patch. Modified files are 'config.h.win32' and two 'win32.mak'. Addresses the following: 1) Oops. Spelled fcntl.h wrong in the last one. D'uh. 2) PG_VERSION changed to be defined with " around it. psql/command.c failed to compile without that. 3) Changed makefiles to use "/MD" and link both psql and libpq.dll against MSVCRT.DLL instead of a static library. This takes care of the crash-upon-free in psql. I *think* this is what is on the "Open 7.1 Items" list as "Magnus Hagander ODBC Issues?". It has nothing to do with ODBC, but it's the only issue I've been involved with... Regards, Magnus <<win32.fix.patch>>
Attachment
> I *think* this is what is on the "Open 7.1 Items" list as "Magnus Hagander > ODBC Issues?". It has nothing to do with ODBC, but it's the only issue I've > been involved with... I must have ODBC in my head. I get NT/ODBC mixed up. I will apply after standard 1-day timeout. Thanks. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026
Applied. Thanks. Open item removed. [ Charset ISO-8859-1 unsupported, converting... ] > Hello! > > Here is an update on the Win32 patch. Modified files are 'config.h.win32' > and two 'win32.mak'. Addresses the following: > > 1) Oops. Spelled fcntl.h wrong in the last one. D'uh. > 2) PG_VERSION changed to be defined with " around it. psql/command.c failed > to compile without that. > 3) Changed makefiles to use "/MD" and link both psql and libpq.dll against > MSVCRT.DLL instead of a static library. This takes care of the > crash-upon-free in psql. > > I *think* this is what is on the "Open 7.1 Items" list as "Magnus Hagander > ODBC Issues?". It has nothing to do with ODBC, but it's the only issue I've > been involved with... > > Regards, > Magnus > > <<win32.fix.patch>> [ Attachment, skipping... ] -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026