curl-users
RE: 7.9.6 sparc-sun-solaris2.4 ftp timeout after connect?
Date: Mon, 29 Apr 2002 09:05:02 -0400
> -----Original Message-----
> From: Daniel Stenberg [mailto:daniel_at_haxx.se]
> Sent: Monday, April 29, 2002 9:04 AM
> To: Rich Gray
> Cc: Curl Mailinglist; Bjørn Reese
> Subject: RE: 7.9.6 sparc-sun-solaris2.4 ftp timeout after connect?
>
>
> On Mon, 29 Apr 2002, Rich Gray wrote:
>
> > #if defined(HAVE_O_NONBLOCK) && (defined(sun) && !defined(__SVR4))
> > # undef HAVE_O_NONBLOCK
> > # define HAVE_O_FIONBIO
> > #endif
>
> I'm a bit puzzled about this #if line, doesn't Solaris 2.4
> set the __SVR4
> true? This check seems to be made for SunOS. (Bjorn's own page over at
> http://predef.sourceforge.net/ seems to confirm this.)
>
> Just for testing purposes, can you instead make it:
>
> #if defined(HAVE_O_NONBLOCK)
> # undef HAVE_O_NONBLOCK
> # define HAVE_O_FIONBIO
> #endif
>
> --
> Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
>
"connect.c", line 149: #error: "no non-blocking method was found/used/set"
cc: acomp failed for connect.c
*** Error code 1
:(
Received on 2002-04-29