[Rt-commit] rt branch, 4.0/gnupg-decrypt-verify-deadlock, updated. rt-4.0.8-242-ge6688e6

Alex Vandiver alexmv at bestpractical.com
Wed Dec 12 19:02:43 EST 2012


The branch, 4.0/gnupg-decrypt-verify-deadlock has been updated
       via  e6688e6a247d524f80b344f5721be03de8d04e74 (commit)
      from  67b139c5d657dbc82c1bd3798c5f43016532a582 (commit)

Summary of changes:
 lib/RT/Crypt/GnuPG.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

- Log -----------------------------------------------------------------
commit e6688e6a247d524f80b344f5721be03de8d04e74
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Wed Dec 12 19:02:13 2012 -0500

    Fix a "variable $fh masks earlier declaration" warning

diff --git a/lib/RT/Crypt/GnuPG.pm b/lib/RT/Crypt/GnuPG.pm
index fa3512f..784ba0e 100644
--- a/lib/RT/Crypt/GnuPG.pm
+++ b/lib/RT/Crypt/GnuPG.pm
@@ -915,7 +915,7 @@ sub FindProtectedParts {
                     $decoder->decode($io, $fh);
                     close $fh or die "Couldn't close scalar: $!";
 
-                    open my $fh, '<:raw', \$buf
+                    open $fh, '<:raw', \$buf
                         or die "Couldn't re-open scalar for reading: $!";
                     $io = $fh;
                     1;

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


More information about the Rt-commit mailing list