Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!munnari.oz.au!metro!cluster!necisa!boyd From: boyd@necisa.ho.necisa.oz (Boyd Roberts) Newsgroups: comp.unix.wizards Subject: Re: A question on the implementation of /dev/stdin, etc. Summary: bug Message-ID: <1708@necisa.ho.necisa.oz> Date: 8 May 90 23:36:48 GMT References: <6148.262dbb8d@csv.viccol.edu.au> <707@ehviea.ine.philips.nl> <[2643142a:635.16]comp.unix.wizards;1@wcbcs> <1706@necisa.ho.necisa.oz> Organization: NEC Information Systems Australia Pty. Ltd. Lines: 13 In article <1706@necisa.ho.necisa.oz> (Boyd Roberts) writes: > > closef(u.u_ofile[u.u_rval1]); When I should have written: closef(u.u_ofile[u.u_rval1]); u.u_ofile[u.u_rval1] = NULL; /* this completes the close */ Boyd Roberts boyd@necisa.ho.necisa.oz.au ``When the going gets wierd, the weird turn pro...''