[libcode-tidyall-perl] 26/374: fixes

Jonas Smedegaard js at alioth.debian.org
Sun Sep 29 22:25:42 UTC 2013


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository libcode-tidyall-perl.

commit 877eb884604624adbfb498af8945080c71f9f2aa
Author: Jonathan Swartz <swartz at pobox.com>
Date:   Fri Jun 15 21:40:03 2012 -0500

    fixes
---
 lib/Code/TidyAll.pm |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/Code/TidyAll.pm b/lib/Code/TidyAll.pm
index 6f8db9a..71f092a 100644
--- a/lib/Code/TidyAll.pm
+++ b/lib/Code/TidyAll.pm
@@ -130,6 +130,7 @@ sub process_files {
 
     my $error_count = 0;
     foreach my $file (@files) {
+        $file = realpath($file);
         $error_count++ if $self->_process_file($file);
     }
     return Code::TidyAll::Result->new( error_count => $error_count );
@@ -273,6 +274,7 @@ sub _find_matched_files {
 sub _zglob {
     my ( $self, $expr ) = @_;
 
+    local $File::Zglob::NOCASE = 0;
     return File::Zglob::zglob( join( "/", $self->root_dir, $expr ) );
 }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libcode-tidyall-perl.git



More information about the Pkg-perl-cvs-commits mailing list