[fpc-devel]UnixUtil.FNMatch bug - new patch version

Michalis Kamburelis michalis at camelot.homedns.org
Thu May 6 07:54:22 CEST 2004

Hi again,

Previous patch still missed to correct some bugs (those we're still bugs 
in original FNMatch code, not new bugs introduced by my fixes, in case 
you might ask...).

   '*o' should not match 'blah.ow' and
   '*o' should not match 'fox'

Anyway, I'm attaching new version of the patch (unixutil.patch) and new 
version of the test program (fnmatch_test.pas). Just forget about 
previous ones.

BTW, I also corrected indentation around that couple lines of code that 
I am fixing. I hope you don't mind. Original indentation was totally 
messed up and inconsistent; I just couldn't resist, so I corrected it.
I hope this will make reading this code easier.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: fnmatch_test.pas
Type: text/x-pascal
Size: 3333 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20040506/994affdd/attachment.pas>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: unixutil.patch
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20040506/994affdd/attachment.ksh>

More information about the fpc-devel mailing list