about summary refs log tree commit diff
path: root/stdlib/xpg_basename.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2004-06-09 18:33:36 +0000
committerRoland McGrath <roland@gnu.org>2004-06-09 18:33:36 +0000
commite17f8b6119eb64d126422eda8a18d577cbdc9976 (patch)
tree420d90c088e34223e18c9dc838264785555aab9e /stdlib/xpg_basename.c
parent616340ca428df8879afb1fcb8771d4e4050ff1e2 (diff)
downloadglibc-e17f8b6119eb64d126422eda8a18d577cbdc9976.tar.gz
glibc-e17f8b6119eb64d126422eda8a18d577cbdc9976.tar.xz
glibc-e17f8b6119eb64d126422eda8a18d577cbdc9976.zip
* sysdeps/generic/setenv.c (setenv): Return -1/EINVAL if name is
	NULL, "" or contains '=' character in it.  Reported by
	Michael T Kerrisk <mtk-lists@gmx.net>.
	* stdlib/tst-environ.c: Include errno.h.
	(main): Add tests for these arguments to setenv/unsetenv.
Diffstat (limited to 'stdlib/xpg_basename.c')
0 files changed, 0 insertions, 0 deletions