From owner-freebsd-standards Mon Nov 25 16:50: 5 2002 Delivered-To: freebsd-standards@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F02CE37B401 for ; Mon, 25 Nov 2002 16:50:03 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A778743EBE for ; Mon, 25 Nov 2002 16:50:03 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gAQ0o3x3041337 for ; Mon, 25 Nov 2002 16:50:03 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gAQ0o2IV041336; Mon, 25 Nov 2002 16:50:02 -0800 (PST) Date: Mon, 25 Nov 2002 16:50:02 -0800 (PST) Message-Id: <200211260050.gAQ0o2IV041336@freefall.freebsd.org> To: freebsd-standards@FreeBSD.org Cc: From: Matthias Andree Subject: Re: standards/45738: sh "unset" built-in violates IEEE Std 1003.1-2001. Reply-To: Matthias Andree Sender: owner-freebsd-standards@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG The following reply was made to PR standards/45738; it has been noted by GNATS. From: Matthias Andree To: freebsd-gnats-submit@FreeBSD.org, matthias.andree@web.de Cc: Subject: Re: standards/45738: sh "unset" built-in violates IEEE Std 1003.1-2001. Date: Tue, 26 Nov 2002 01:42:17 +0100 Here's a fix: (I hacked up the paths, don't mind that). diff -ru /usr/src/bin/sh/exec.c /root/sh/sh/exec.c --- ./src/bin/sh/exec.c~ Tue Aug 27 19:47:09 2002 +++ ./src/bin/sh/exec.c Tue Nov 26 01:35:11 2002 @@ -699,7 +699,7 @@ delete_cmd_entry(); return (0); } - return (1); + return (0); } /* diff -ru /usr/src/bin/sh/var.c /root/sh/sh/var.c --- ./src/bin/sh/var.c~ Tue Aug 27 19:47:09 2002 +++ ./src/bin/sh/var.c Tue Nov 26 01:34:55 2002 @@ -778,7 +778,7 @@ } } - return (1); + return (0); } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message