libc stdlib/tst-environ.c sysdeps/generic/setenv.c

roland@sourceware.org roland@sourceware.org
Wed Jun 9 18:33:00 GMT 2004


CVSROOT:	/cvs/glibc
Module name:	libc
Changes by:	roland@sourceware.org	2004-06-09 18:33:30

Modified files:
	stdlib         : tst-environ.c 
	sysdeps/generic: setenv.c 

Log message:
	2004-06-09  Jakub Jelinek  <jakub@redhat.com>
	
	* 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.



More information about the Glibc-cvs mailing list