Skip to content
Commit e17f8b61 authored by Roland McGrath's avatar Roland McGrath
Browse files

* 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.
parent 616340ca
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment