From ff4b83917aa3cfb2eb1a992bd5104b2ed6cc3102 Mon Sep 17 00:00:00 2001 From: Kevin Ryde Date: Wed, 11 Jun 2003 23:43:03 +0000 Subject: [PATCH] (scm_putenv): Add freebsd to comment about need to use unsetenv. --- libguile/posix.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libguile/posix.c b/libguile/posix.c index 4ff99911b..bd3c2fe97 100644 --- a/libguile/posix.c +++ b/libguile/posix.c @@ -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