[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #53922] unsetenv does not unset environment va
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #53922] unsetenv does not unset environment variables on Windows |
Date: |
Wed, 16 May 2018 16:10:37 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 |
Update of bug #53922 (project octave):
Status: Need Info => Confirmed
Summary: unset case sensitivity => unsetenv does not unset
environment variables on Windows
_______________________________________________________
Follow-up Comment #2:
Ok, now I see that Octave uses Gnulib's 'putenv' function, which calls the
Winows function SetEnvironmentVariable, which is probably where the case
insensitivity comes in. But Gnulib's 'unsetenv' function iterates over the
'environ' global variable directly, and doesn't seem to correspond to anything
set with SetEnvironmentVariable.
It looks to me like 'unsetenv' simply does not work at all with 'putenv', even
ignoring case sensitivity. The 'unsetenv' function simply does not work on
Windows right now.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?53922>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/