From owner-freebsd-stable Fri Jul 12 6:49:26 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 09CB837B400 for ; Fri, 12 Jul 2002 06:49:24 -0700 (PDT) Received: from rumori.com (client62-2-193-38.hispeed.ch [62.2.193.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id E004F43E3B for ; Fri, 12 Jul 2002 06:49:16 -0700 (PDT) (envelope-from willers@wit.ch) Received: from localhost (willers@localhost) by rumori.com (8.11.6/8.11.6) with ESMTP id g6CDn5I51859; Fri, 12 Jul 2002 15:49:05 +0200 (MEST) (envelope-from willers@wit.ch) X-Authentication-Warning: rumori.com: willers owned process doing -bs Date: Fri, 12 Jul 2002 15:49:05 +0200 (MEST) From: Moritz Willers X-X-Sender: willers@rumori.com To: Cyrille Lefevre Cc: stable@FreeBSD.ORG Subject: Re: what changed in /bin/sh with [n]>&- ? In-Reply-To: <20020712014321.GP21234@gits.dyndns.org> Message-ID: <20020712154751.E68971-100000@rumori.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG already done and fixed! http://www.freebsd.org/cgi/query-pr.cgi?pr=40334 thanks - Moritz On Fri, 12 Jul 2002, Cyrille Lefevre wrote: > On Wed, Jul 03, 2002 at 10:39:29PM +0100, Moritz Willers wrote: > > after the update > > > > # uname -r > > 4.6-RELEASE-p1 > > # /bin/sh -c 'echo "ha" >&-' > > ha > > # > > > > according to the manpage and my knowledge this should not produce any > > output: > > > > [n]>&- close stdout (or file descriptor n) > > > > is this an intentional change or a unwanted feature? > > IMHO, it's not a feature :) > I'll take a look at this... > but, for instance, fill a PR (man send-pr), thanks. > > Cyrille. > -- > Cyrille Lefevre mailto:cyrille.lefevre@laposte.net > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message