Am 2013-04-29 16:21, schrieb Bart:
On 4/29/13, Jürgen Hestermann <[email protected]> wrote:

Which files would be missed with this mask? IMO all files fit this mask (at
least for Windows).
In the context of the original bugreport, they would miss all files
without an extension, beause the *.* isn't handed to FindFirst, but to
the MatchesMask that filters FindFirst with * as a mask.

MatchesMask('foo','*.*') -> False
TMask.Matches matches filenames in a Unix way (as does Delphi's TMask).


So (int the context of the bug report) the programmer has no chance to do it 
right and all his knowledge about OS filter masks is of no use because an 
intermedate routine silently changes his mask? This is more than strange. What 
is the reason for doing this?

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to