From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26096 invoked from network); 7 Jun 1999 08:39:00 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 7 Jun 1999 08:39:00 -0000 Received: (qmail 2660 invoked by alias); 7 Jun 1999 08:38:52 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6488 Received: (qmail 2653 invoked from network); 7 Jun 1999 08:38:52 -0000 Message-Id: <9906070810.AA18709@ibmth.df.unipi.it> To: zsh-workers@sunsite.auc.dk Subject: Re: PATCH: closing stdin in zle In-Reply-To: "Sven Wischnowsky"'s message of "Mon, 07 Jun 1999 10:17:16 DFT." <199906070817.KAA05053@beta.informatik.hu-berlin.de> Date: Mon, 07 Jun 1999 10:10:12 +0200 From: Peter Stephenson Sven Wischnowsky wrote: > Peter, is movefd(), redup(), zclose() the right way to do it? (At > least it works...) Unless I'm missing something fundamental, redup() automatically calls zclose() for the fd redup'd from, so the zclose's aren't necessary and I've editted them out by hand. Otherwise, this is certainly supposed to work. -- Peter Stephenson Tel: +39 050 844536 WWW: http://www.ifh.de/~pws/ Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy