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

Frediano Ziglio <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
2010/5/10 Paul Thurston <[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]
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.