]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
env calls setenv("name=value", "value", 1); which violates POSIX:
authorache <ache@FreeBSD.org>
Mon, 30 Apr 2007 19:25:00 +0000 (19:25 +0000)
committerache <ache@FreeBSD.org>
Mon, 30 Apr 2007 19:25:00 +0000 (19:25 +0000)
commitde97550b4e88a1751b77db7f1825724e46bbda4e
tree0c4abbfb44930be04a6cba6d2c55ddce6c9a6c78
parentb4aa820f7040499dcde01be962528453dbd12e1c
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