cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: File tests in msys

From: Andrés García <fandom_at_retemail.es>
Date: Tue, 30 Mar 2004 20:39:47 -0500

> Can you figure out the reasons for the two warnings mingw produces in
> lib/connect.c ?

The problem with one of the warnings is:

  int flags;
  return ioctlsocket(sockfd, FIONBIO, &flags);

According to ms docs 'flags' should be an unsigned long
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winsock/winsock/ioctlsocket_2.asp)

And that's a ms only function, isn't it?

The attached patch takes care of this problem, the other warning
had already been solved by the time I got to it.

Andres

Received on 2004-03-30