Re: [Bug Report] Missing Winsock initialization in v0.82

Paul Thurston <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <2A93B3F6EB39EA48A0D41234D272A82A5F501E72A4@EXVMBX020-11.exch020.serverdata.net>
Has the patch been applied to the Stable build of v0.82?
The version I pulled over the weekend from the web site still has the problem.



From: [email protected] [mailto:[email protected]] On Behalf Of Frediano Ziglio
Sent: Tuesday, May 11, 2010 3:21 AM
To: FreeTDS Development Group
Subject: Re: [freetds] [Bug Report] Missing Winsock initialization in v0.82


2010/5/10 Paul Thurston <[email protected]<mailto:[email protected]>>:

> I reported this bug in the v0.82 last year (May 2009). Would someone please patch this, or provide me with CVS access ( and I'll do it)?

>

> <Version>

> FreeTDS v0.82

>

> <Issue>

> Failure to call WinSock initialization routine WSAStartup in Windows Build.

>

> <Source file to Patch>

> net.c

>

> <Function to patch>

>

>  int tds_open_socket(TDSSOCKET * tds, const char *ip_addr, unsigned

> int port, int timeout)

>

> <Code Line to Patch>

> Line 201

>

> <Patch Source Code>

>

> INITSOCKET();

>



Fixed in CVS version time ago, 0.82 used to provide DLL with proper initialization code.



freddy77

_______________________________________________

FreeTDS mailing list

[email protected]<mailto:[email protected]>

http://lists.ibiblio.org/mailman/listinfo/freetds
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.