This avoids a core dump on systems without GNU putenv,
authorJim Meyering <jim@meyering.net>
Sun, 4 May 2003 08:26:09 +0000 (08:26 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 4 May 2003 08:26:09 +0000 (08:26 +0000)
commitcf09ab79a3027d96184b743ca6b702872da2fcb2
treef724e272e39960da5a9bdf1f40bbae161b1ef653
parente3ea089119617020072fa9042c6c6778a6dd1a26
This avoids a core dump on systems without GNU putenv,
when running `env -u SOME_ALREADY_UNSET_VARIABLE'.

(unsetenv): New static function, from libc.
(rpl_putenv): Use it.
lib/putenv.c