This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix setenv() with NULL or "" name or '=' in name argument


> 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.

I put this in.


Thanks,
Roland


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]