At 10:48 PM +0400 4/30/07, Andrey Chernov wrote:
On Mon, Apr 30, 2007 at 08:36:24PM +0200, Henrik Brix Andersen wrote:
 >
 This is the output of the same test on my RELENG_6 box:

 $ env -vi foo=bar env
 #env clearing environ
 #env setenv:    foo=bar
 #env executing: env
 #env    arg[0]= 'env'
 foo=bar

Thanx for the report, but please be patient a bit, work in the progress
and fix already planned soon.
To the matter: env incorrectly calls setenv("name=...", ...) which is
POSIX violation:

"The setenv( ) function shall fail if:
[EINVAL] The name argument is a null pointer, points to an empty
string, or points to a string containing an '=' character."

I can fix the 'env' command, if you want...
(not sure I can get to it tonight, but I'll see)

--
Garance Alistair Drosehn     =               [EMAIL PROTECTED]
Senior Systems Programmer               or   [EMAIL PROTECTED]
Rensselaer Polytechnic Institute;             Troy, NY;  USA
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to