r32042 - /trunk/libapache-configfile-perl/debian/patches/15globs.patch
ryan52-guest at users.alioth.debian.org
ryan52-guest at users.alioth.debian.org
Fri Mar 13 23:06:27 UTC 2009
Author: ryan52-guest
Date: Fri Mar 13 23:06:23 2009
New Revision: 32042
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=32042
Log:
don't croak if nothing matches the glob
Modified:
trunk/libapache-configfile-perl/debian/patches/15globs.patch
Modified: trunk/libapache-configfile-perl/debian/patches/15globs.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libapache-configfile-perl/debian/patches/15globs.patch?rev=32042&op=diff
==============================================================================
--- trunk/libapache-configfile-perl/debian/patches/15globs.patch (original)
+++ trunk/libapache-configfile-perl/debian/patches/15globs.patch Fri Mar 13 23:06:23 2009
@@ -4,13 +4,12 @@
--- a/ConfigFile.pm
+++ b/ConfigFile.pm
-@@ -168,6 +168,21 @@
+@@ -168,6 +168,20 @@
# add the server root unless it's a /full/path/name
$file = "$server_root/$file" if $file !~ m!^/! && $server_root;
+ # Handling for wildcards
-+ my @files = glob($file)
-+ || croak("Cannot glob '$file': $!");
++ my @files = glob($file);
+ if (length(@files) > 1) {
+ my @conf;
+ foreach (@files) {
More information about the Pkg-perl-cvs-commits
mailing list