NO

Author Topic: FindFile updates  (Read 5870 times)

JohnF

  • Guest
FindFile updates
« on: September 22, 2007, 10:57:02 AM »
A couple a updates for FindFile

=====================================
22nd September 2007. Version 2.0.0.0 (JF)
=====================================
Added multiple token ability for pattern matching.

The "File Search" string can have multiple tokens separated
by a comma.

e.g.

*.h,*.c

mytext.txt,*.c

*.h,*.c,*.cpp
 
Do not include spaces in the string.

*.h, *.c   WRONG

See Private_FindFile() and IsFilterMatch() in Find.c

======================================
21st September 2007. Version 2.0.0.0 (JF)
======================================
Very large files (multi gig) sizes were not displayed correctly.
The macro MAKELONGLONG was not correct.

Code: [Select]
was
#define MAKELONGLONG(a,b) ((long long) (((long) (a)) | ((long long ) ((long) (b))) << 32))

should be
#define MAKELONGLONG(a,b) ((long long)(((long)(a)&0xFFFFFFFF) | (((long long)((long) (b)&0xFFFFFFFF)) << 32)))


=======================================

http://www.johnfindlay.plus.com/pellesc/utils/utils.html

John