| От | Mikhail Terekhov |
|---|---|
| Тема | Re: [HACKERS] Re: WIN32 errno patch |
| Дата | |
| Msg-id | 3B813B75.A0CD1F05@emc.com обсуждение исходный текст |
| Ответ на | Re: Re: [HACKERS] Re: WIN32 errno patch ("Magnus Naeslund\(f\)" <mag@fbab.net>) |
| Список | pgsql-patches |
"Magnus Naeslund(f)" wrote: > > This is a multi-part message in MIME format. > > ------=_NextPart_000_0106_01C12801.00DAC460 > Content-Type: text/plain; charset="iso-8859-1" > Content-Transfer-Encoding: 7bit > > Ok, where's a "system dependent hack" :) > It seems that win9x doesn't have the "netmsg.dll" so it defaults to "normal" > FormatMessage. > I wonder if one could load wsock32.dll or winsock.dll on those systems > instead of netmsg.dll. > > Mikhail, could you please test this code on your nt4 system? > Could someone else test this code on a win98/95 system? > > It works on win2k over here. > > (code attached) > > Magnus It works on win2k here too but not on win98/95 or winNT. Anyway, attached is the patch which uses Magnus's my_sock_strerror function (renamed to winsock_strerror). The only difference is that I put the code to load and unload netmsg.dll in the libpqdll.c (is this OK Magnus?). Regards Mikhail Terekhov
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера