]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
env calls setenv("name=value", "value", 1); which violates POSIX:
authorAndrey A. Chernov <ache@FreeBSD.org>
Mon, 30 Apr 2007 19:25:00 +0000 (19:25 +0000)
committerAndrey A. Chernov <ache@FreeBSD.org>
Mon, 30 Apr 2007 19:25:00 +0000 (19:25 +0000)
commited4bcacfde939e4cc352ea79f740cb1a8f5ed4b9
tree0c4abbfb44930be04a6cba6d2c55ddce6c9a6c78
parenteea319c4b741d46476e3b92ad61c56b36bf8c5c6
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.
usr.bin/env/env.c