Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Nov 2002 16:50:02 -0800 (PST)
From:      Matthias Andree <matthias.andree@web.de>
To:        freebsd-standards@FreeBSD.org
Subject:   Re: standards/45738: sh "unset" built-in violates IEEE Std 1003.1-2001.
Message-ID:  <200211260050.gAQ0o2IV041336@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR standards/45738; it has been noted by GNATS.

From: Matthias Andree <matthias.andree@web.de>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211260050.gAQ0o2IV041336>