Re: Windows env-Bug?



David Gravereaux wrote:
Maybe a special behavior regarding setting any variable to ""
implies a delete (all platforms?),

Categorically not; there are a number of UNIX environment variables
that have a different meaning when set to the empty string as opposed
to when unset. One of the root problems here is that the UNIX and
Windows behaviours are just different here; it has the feel of a short-
cut taken long ago (in MS-DOS 1.0 or 2.0!) that's now too deeply
ingrained to fix. :-\

On the other hand, that doesn't mean that we shouldn't add some code
so that the unsetting of the element happens immediately on Windows.
But it's definitely going to be platform-specific because the
underlying environment variable behaviour is also platform-specific.
Can't be helped really.

Donal.

.