Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!rutgers!cmcl2!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn) Newsgroups: comp.unix.wizards Subject: Re: unix question about stdin Message-ID: <10110@smoke.BRL.MIL> Date: 25 Apr 89 03:59:55 GMT References: <3398@udccvax1.acs.udel.EDU> <5414@cs.Buffalo.EDU> <1495@auspex.auspex.com> Reply-To: gwyn@brl.arpa (Doug Gwyn) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 7 In article <1495@auspex.auspex.com> guy@auspex.auspex.com (Guy Harris) writes: >*However*, I don't know whether every standard I/O implementation in the >world would work correctly if you copy one FILE object atop another one. I can think of several ways in which it could fail, but in any case it's a bad idea because it "orphans" any resources that were previously associated with the stream.