diff options
Diffstat (limited to 'lib/LXRng/Index/DBI.pm')
-rw-r--r-- | lib/LXRng/Index/DBI.pm | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/lib/LXRng/Index/DBI.pm b/lib/LXRng/Index/DBI.pm index 667530d..0e2e30a 100644 --- a/lib/LXRng/Index/DBI.pm +++ b/lib/LXRng/Index/DBI.pm @@ -1,3 +1,22 @@ +# Copyright (C) 2008 Arne Georg Gleditsch <lxr@linux.no>. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# The full GNU General Public License is included in this distribution +# in the file called COPYING. + package LXRng::Index::DBI; use strict; @@ -532,7 +551,7 @@ sub files_by_wildcard { $query =~ tr/\?\*/_%/; unless ($query =~ s,^/,,) { - # Absolute path queries are left alone, module leading-slash-removal. + # Absolute path queries are left alone, modulo leading-slash-removal. $query = '%'.$query.'%'; } |