cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: 7.9.6 sparc-sun-solaris2.4 ftp timeout after connect?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 29 Apr 2002 15:04:25 +0200 (MET DST)

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/
Received on 2002-04-29