[PATCH][BUG] BZR_PLUGIN_PATH='' loads from ~/.bzr.conf/plugins

Martin Pool mbp at sourcefrog.net
Wed Jun 29 00:56:52 BST 2005


On 28 Jun 2005, Roncaglia Julien <bazaar-ng at virtualblackfox.net> wrote:
> Martin Pool said the following :
> > I vaguely recall something about Windows being unable to distinguish
> > empty and unset environment variables.  Is that true?
> 
> >From GetEnvironmentVariable in MSDN :
> 
> If the function fails, the return value is zero. If the specified
> environment variable was not found in the environment block,
> GetLastError returns ERROR_ENVVAR_NOT_FOUND.

And you can have the variable set to ""?  

Maybe it was just that some languages don't distinguish the two.  It's
not important.

-- 
Martin




More information about the bazaar mailing list