M. Edward (Ed) Borasky wrote:
> Hmmm ... perhaps Ruby/Windows is stripping off or not stripping off an 
> end-of-line character inappropriately?

There are no end-of-line characters stored in environment variables,
so that shouldn't be an issue.

> This might be another piece of 
> Curt Hibbs' "mingw vs. Visual Studio for compiling Ruby" puzzle ...
> Does it work with the built-in Ruby from CygWin?

Hah - good call. The cygwin-compiled ruby works correctly, presumably
because it uses the cygwin "getenv" implementation. The bug's only in
the native Windows version.

Clifford Heath.