Path: utzoo!attcan!uunet!virtech!cpcahil From: cpcahil@virtech.uucp (Conor P. Cahill) Newsgroups: comp.unix.wizards Subject: Re: But I don't wanna do non-blocking I/O... Message-ID: <1990Jun14.124906.18547@virtech.uucp> Date: 14 Jun 90 12:49:06 GMT References: <397@minya.UUCP> <1990Jun12.203245.5804@virtech.uucp> <407@minya.UUCP> Reply-To: cpcahil@virtech.UUCP (Conor P. Cahill) Organization: Virtual Technologies Inc., Sterling VA Lines: 23 In article <407@minya.UUCP> jc@minya.UUCP (John Chambers) writes: > >Anyhow, that did solve the problem. It also meant that I expanded my >#defines to include SYS5_2 and SYS5_3. In any case, it looks like one >more thing to remember when trying to write portable code. It ain't >getting easier. I can hardly wait for the Sys/5.4 release. By then >maybe I'll be porting stuff to Mach, and going totally insane. One suggestion: Do not add a #define for SYS5_anything. This gets you into all kinds of problems when you put your stuff on hybrid systems (like 5.4). Instead use something like: #define HAS_NDELAY_READS which is the explicit capability you are checking about. -- Conor P. Cahill (703)430-9247 Virtual Technologies, Inc., uunet!virtech!cpcahil 46030 Manekin Plaza, Suite 160 Sterling, VA 22170