This is the mail archive of the
glibc-cvs@sources.redhat.com
mailing list for the glibc project.
libc stdlib/tst-environ.c sysdeps/generic/setenv.c
- From: roland at sourceware dot org
- To: glibc-cvs at sources dot redhat dot com
- Date: 9 Jun 2004 18:33:31 -0000
- Subject: libc stdlib/tst-environ.c sysdeps/generic/setenv.c
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.