ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-4/src/utils/wildcards.hpp
(Generate patch)

Comparing trunk/OOPSE-4/src/utils/wildcards.hpp (file contents):
Revision 1983 by chrisfen, Mon Feb 7 20:20:57 2005 UTC vs.
Revision 2204 by gezelter, Fri Apr 15 22:04:00 2005 UTC

# Line 24 | Line 24 | class Wildcard (public)
24  
25   class Wildcard
26   {
27 < public:
27 > public:
28    // This function implements the UN*X wildcards and returns:
29    // 0 - if *wildcard does not match *test
30    // 1 - if *wildcard matches *test
31    static int wildcardfit (const char *wildcard, const char *test);
32        
33 < private:
33 > private:
34    // Scans a set of characters and returns 0 if the set mismatches at this
35    // position in the teststring and 1 if it is matching
36    // wildcard is set to the closing ] and test is unmodified if mismatched

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines