From owner-freebsd-hackers Mon Apr 17 00:57:53 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id AAA10400 for hackers-outgoing; Mon, 17 Apr 1995 00:57:53 -0700 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id AAA10384 for ; Mon, 17 Apr 1995 00:57:45 -0700 Received: from sax.sax.de by irz301.inf.tu-dresden.de with SMTP (5.67b+/DEC-Ultrix/4.3) id AA27862; Mon, 17 Apr 1995 09:56:16 +0200 Received: by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id JAA19142; Mon, 17 Apr 1995 09:56:15 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.6.11/8.6.9) id JAA04550; Mon, 17 Apr 1995 09:14:40 +0200 From: J Wunsch Message-Id: <199504170714.JAA04550@uriah.heep.sax.de> Subject: Re: aspfilter & stdin To: ache@astral.msk.su (Andrey A. Chernov Black Mage) Date: Mon, 17 Apr 1995 09:14:40 +0200 (MET DST) Cc: rpt@miles.sso.loral.com, wwanders@sci.kun.nl, freebsd-hackers@FreeBSD.org In-Reply-To: from "Andrey A. Chernov, Black Mage" at Apr 17, 95 02:30:10 am Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 434 Sender: hackers-owner@FreeBSD.org Precedence: bulk As Andrey A. Chernov, Black Mage wrote: > >#include > > >main() > >{ > > rewind(stdin); > > return(0); > >} > > Yet one: > fpurge(stdin); Won't help. You didn't notice the ``main()'' above? Boy, he tries to rewind a pipe from a separate _process_! This is impossible. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ Never trust an operating system you don't have sources for. ;-)