Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
perl-MailTools
incsearch.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File incsearch.diff of Package perl-MailTools
%INC is randomized nowadays, so sort it to get consistent results. Also, more important, make sure $INC{$f} is really set, otherwise we end up searching the filesystem root. --- ./lib/Mail/Field.pm.orig 2013-07-15 12:06:12.000000000 +0000 +++ ./lib/Mail/Field.pm 2013-07-15 12:07:24.000000000 +0000 @@ -63,8 +63,9 @@ sub import } my($dir,$dir_sep); - foreach my $f (keys %INC) + foreach my $f (sort keys %INC) { next if $f !~ /^Mail(\W)Field\W/i; + next unless $INC{$f}; $dir_sep = $1; $dir = ($INC{$f} =~ /(.*Mail\W+Field)/i)[0] . $dir_sep; last;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor