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:
parent
f158788fd1
commit
ff4b83917a
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue