Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!usc!ginosko!ctrsol!emory!arnold From: arnold@mathcs.emory.edu (Arnold D. Robbins {EUCC}) Newsgroups: comp.sources.d Subject: Re: Perl on Microport 286: can't find library routines Message-ID: <4344@emory.mathcs.emory.edu> Date: 11 Sep 89 22:14:37 GMT References: <2869@splut.conmicro.com> <9257@attctc.Dallas.TX.US> <1989Sep7.222720.3381@NCoast.ORG> <2432@auspex.auspex.com> Reply-To: arnold@emory.UUCP (Arnold D. Robbins {EUCC}) Organization: Math and Computer Science, Emory University, Atlanta GA Lines: 28 What do you know? Break out the champagne, I caught Guy in a mistake! :-) In article <2432@auspex.auspex.com> guy@auspex.auspex.com (Guy Harris) writes: > /* > * Check whether "fildes" is equal to "fildes2": > * "If 'fildes' is a valid file descriptor and is equal > * to 'fildes2', the 'dup2()' function shall return > * 'fildes2' without closing it." > */ > if (fildes == fildes2) > return 0; That should really be if (filedes == filedes2) return filedes2; I guess this shows it pays to read the comments occasionally too. :-) [inews fodder] [inews fodder] [inews fodder] [inews fodder] -- Arnold Robbins -- Emory University Computing Center | Laundry increases DOMAIN: arnold@unix.cc.emory.edu | exponentially in the UUCP: gatech!emoryu1!arnold PHONE: +1 404 727-7636 | number of children. BITNET: arnold@emoryu1 FAX: +1 404 727-2599 | -- Miriam Hartholz