GnuPG 2.0 vs. 1.4 locale; gpgme_set_locale

Albrecht Dreß albrecht.dress at arcor.de
Mon Nov 27 21:08:52 CET 2006


Am 27.11.06 12:35 schrieb(en) Marcus Brinkmann:
> Yes, I think so.  That it isn't above for GnuPG 2.0 seems to be a bug.
> Can you file a report at bugs.g10code.com?

See https://bugs.g10code.com/gnupg/issue734

> I don't mind supporting locale setting for GnuPG.  Do you want to work
> out a patch?  Otherwise it will probably be done when we run GnuPG in
> server mode as well.

That shouldn't be too difficult - basically make a copy of environ, but  
omit LC_*, replacing them by the values set in gpgme, then call execve()  
and free the array in the parent, right?  I can do that if it is not  
urgent (read: probably next weekend or so).

Cheers, Albrecht.


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Albrecht Dreß  -  Johanna-Kirchner-Straße 13  -  D-53123 Bonn (Germany)
        Phone (+49) 228 6199571  -  mailto:albrecht.dress at arcor.de
   GnuPG public key:  http://www.mynetcologne.de/~nc-dreszal/pubkey.asc
_________________________________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : /pipermail/attachments/20061127/b72a5440/attachment.pgp


More information about the Gnupg-devel mailing list