Windows, GNUPGHOME, registry

disastry at saiknes.lv disastry at saiknes.lv
Fri Aug 24 13:30:01 CEST 2001


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

> > (besides... env vars are keept in registry too)
> 
> Huh? Under the PID somewhere or what,

no, not for each process.

> the environment is a data block
> passed from one process to another when doing a CreateProcess.  Any
> process can modify it as it likes.

yes, exactly, but first process have to read it from somewhere.

local environment for each user
HKEY_CURRENT_USER\Environment\

global environment for all users
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\

> > but it costs you nothing, and will not destroy
> > current functionality (it will still read homedir from registry),
> 
> The problem is the support.  Especially under Windows you have huge
> problems to figure out what happens and introducing just another
> parameter makes it more worse.

I don't see how one additional getenv() can make it worse..

== <EOF> ==
Disastry
http://i.am/disastry/
-----BEGIN PGP SIGNATURE-----
Version: Netscape PGP half-Plugin 0.14 by Disastry / PGPsdk v1.7.1

iQA/AwUBO4YP5TBaTVEuJQxkEQNQhwCgu+rGzh954JMc2P+LMeMh+oPHuywAn1ov
19H+/67r5q9mD01OWB/mGOkp
=2TOb
-----END PGP SIGNATURE-----




More information about the Gnupg-devel mailing list