From owner-freebsd-stable Thu Jul 4 10:53:39 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 1164437B400 for ; Thu, 4 Jul 2002 10:53:37 -0700 (PDT) Received: from sand.wit.ch (mowitch.demon.co.uk [212.229.125.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id D69C143E4A for ; Thu, 4 Jul 2002 10:53:35 -0700 (PDT) (envelope-from mo@wit.ch) Received: from granny-smith (granny-smith.wit.ch [192.168.2.12]) by sand.wit.ch (8.12.3/8.12.3) with ESMTP id g64HrYtx009235 for ; Thu, 4 Jul 2002 18:53:34 +0100 (BST) (envelope-from mo@wit.ch) Date: Wed, 3 Jul 2002 22:39:29 +0100 Subject: what changed in /bin/sh with [n]>&- ? Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v482) From: Moritz Willers To: stable@FreeBSD.ORG Content-Transfer-Encoding: 7bit In-Reply-To: Message-Id: <5AE7E15E-8ECD-11D6-A3F7-00039305A292@wit.ch> X-Mailer: Apple Mail (2.482) 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 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? - mo To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message