X-Git-Url: https://git.p6c8.net/devedit.git/blobdiff_plain/b20af44b8176a2c2b21577d8b1ddc5fea2d63c5c..e3a612df5e53adb76632fa1e9b32770e83bf8eff:/modules/Tool.pm diff --git a/modules/Tool.pm b/modules/Tool.pm index 5ed1ba2..b143dcb 100644 --- a/modules/Tool.pm +++ b/modules/Tool.pm @@ -6,7 +6,15 @@ package Tool; # Some shared sub routines # # Author: Patrick Canterino -# Last modified: 2005-11-10 +# Last modified: 2008-04-25 +# +# Copyright (C) 1999-2000 Roland Bluethgen, Frank Schoenmann +# Copyright (C) 2003-2009 Patrick Canterino +# All Rights Reserved. +# +# This file can be distributed and/or modified under the terms of +# of the Artistic License 1.0 (see also the LICENSE file found at +# the top level of the Dev-Editor distribution). # use strict; @@ -183,6 +191,8 @@ sub dos_wildcard_match($$) { my ($pattern,$string) = @_; + return 1 if($pattern eq '*'); + # The following part is stolen from File::DosGlob # escape regex metachars but not glob chars