Date: Mon, 30 Apr 2007 20:10:11 +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/limits limits.c Message-ID: <200704302010.l3UKABCI084160@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ache 2007-04-30 20:10:11 UTC
FreeBSD src repository
Modified files:
usr.bin/limits limits.c
Log:
limits 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.15 +2 -2 src/usr.bin/limits/limits.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704302010.l3UKABCI084160>
