1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-20 11:40:18 +02:00

(scm_putenv): Add freebsd to comment about need to use unsetenv.

This commit is contained in:
Kevin Ryde 2003-06-11 23:43:03 +00:00
parent f158788fd1
commit ff4b83917a

View file

@ -1166,8 +1166,9 @@ SCM_DEFINE (scm_putenv, "putenv", 1, 0, 0,
{
#ifdef HAVE_UNSETENV
/* No '=' in argument means we should remove the variable from
the environment. Not all putenvs understand this. To be
safe, we do it explicitely using unsetenv. */
the environment. Not all putenvs understand this (for instance
FreeBSD 4.8 doesn't). To be safe, we do it explicitely using
unsetenv. */
unsetenv (SCM_STRING_CHARS (str));
#else
/* On e.g. Win32 hosts putenv() called with 'name=' removes the