[Rt-commit] rt branch, 4.0/gpg-lang-fix, created. rt-4.0.0-261-gb31107e

Shawn Moore sartak at bestpractical.com
Tue May 10 15:55:15 EDT 2011


The branch, 4.0/gpg-lang-fix has been created
        at  b31107e97519cfcb19b08e213ba42f2df0407fe1 (commit)

- Log -----------------------------------------------------------------
commit b31107e97519cfcb19b08e213ba42f2df0407fe1
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Tue May 10 15:54:48 2011 -0400

    safe_run_child sets both $LANG and $LC_ALL to C for us

diff --git a/lib/RT/Crypt/GnuPG.pm b/lib/RT/Crypt/GnuPG.pm
index 44d4286..6386ab1 100644
--- a/lib/RT/Crypt/GnuPG.pm
+++ b/lib/RT/Crypt/GnuPG.pm
@@ -2287,7 +2287,6 @@ sub DeleteKey {
 
     eval {
         local $SIG{'CHLD'} = 'DEFAULT';
-        local @ENV{'LANG', 'LC_ALL'} = ('C', 'C');
         my $pid = safe_run_child { $gnupg->wrap_call(
             handles => $handles,
             commands => ['--delete-secret-and-public-key'],
@@ -2335,7 +2334,6 @@ sub ImportKey {
 
     eval {
         local $SIG{'CHLD'} = 'DEFAULT';
-        local @ENV{'LANG', 'LC_ALL'} = ('C', 'C');
         my $pid = safe_run_child { $gnupg->wrap_call(
             handles => $handles,
             commands => ['--import'],

-----------------------------------------------------------------------


More information about the Rt-commit mailing list