Getting EGD socket name from environment

gnupg-devel@thewrittenword.com gnupg-devel@thewrittenword.com
Mon Mar 5 15:52:13 2001


On Mon, Mar 05, 2001 at 10:03:44AM +0100, Matthias Urlichs wrote:

> gnupg-devel@thewrittenword.com:
> > Is it useful to get the EGD socket name from the environment and
> > falling back to the --with-egd-socket name when not found? The patch
> > below is against 1.0.4.
> >
> An environment variable should never override a command-line
> argument. IMHO, the other way round makes a lot more sense.
But GnuPG does not have a command-line argument for the EGD socket. Even that would be fine. Would it be accept to add a --egd-socket command-line option that would override the *hardcoded* path at compile-time? -- albert chin (china@thewrittenword.com)