On Sat, Apr 22, 2017 at 10:52:43PM +0200, Vincent Lefevre wrote:
> I'm wondering. Is the call to setenv() useful any longer?
> I mean, GPG_TTY needs to be set only for child processes, not
> for Mutt itself. This would mean that
> 
>   setenv("GPG_TTY", tty, 0);
> 
> could be removed. And that setenv() should no longer be used,
> so that anything related to it could be removed. What about
> the attached patch?

Hi Vincent,

I wondered the same thing, but wanted to be very cautious with the 1.8.2
fix.  I don't think GPGME invokes that function or makes use of the
environment variable, but would want to double check that.

If not, then I think your revised patch looks good.  I'll try to test
it, probably tomorrow, and then push it up.

-- 
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA

Attachment: signature.asc
Description: PGP signature

Reply via email to