Date: Mon, 30 Apr 2007 19:25:00 +0000 (UTC) From: "Andrey A. Chernov" <ache@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/env env.c Message-ID: <200704301925.l3UJP1H0075466@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ache 2007-04-30 19:25:00 UTC
FreeBSD src repository
Modified files:
usr.bin/env env.c
Log:
env calls setenv("name=value", "value", 1); which violates POSIX:
"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."
The fix (like all others in this subject) is backward-compatible.
Revision Changes Path
1.17 +3 -3 src/usr.bin/env/env.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704301925.l3UJP1H0075466>
