On 7/31/06, nobu / ruby-lang.org <nobu / ruby-lang.org> wrote:
> Hi,
>
> At Mon, 31 Jul 2006 15:37:02 +0900,
> M. Edward (Ed) Borasky wrote in [ruby-talk:205137]:
> > Hmmm ... perhaps Ruby/Windows is stripping off or not stripping off an
> > end-of-line character inappropriately? This might be another piece of
> > Curt Hibbs' "mingw vs. Visual Studio for compiling Ruby" puzzle ...
>
> Win32 API GetEnvirionmentVariable() doesn't tell if the
> variable is empty or unset.  Actually, there is no way to set
> an empty environment variable by cmd.exe.  I'm not sure if it
> is misfeature or restriction by design.
>
> --
> Nobu Nakada

As far as I know, Windows uses an empty env. var. as a signal to
delete that env. var.

Curt