Switch to unified view

a/src/utils/fstreewalk.h b/src/utils/fstreewalk.h
...
...
36
 * walk. Options control whether we follow symlinks and whether we recurse
36
 * walk. Options control whether we follow symlinks and whether we recurse
37
 * on subdirectories.
37
 * on subdirectories.
38
 */
38
 */
39
class FsTreeWalker {
39
class FsTreeWalker {
40
 public:
40
 public:
41
    // Global option to use FNM_PATHNAME when matching paths (for
42
    // skippedPaths).  
43
    // We initially used FNM_PATHNAME, and we can't change it now
44
    // (because of all the config files around). So add global option
45
    // to not use the flag, which can be set from rclconfig by adding
46
    // a value to the config file (skippedPathsNoFnmPathname)
47
    static bool o_useFnmPathname;
48
    static void setNoFnmPathname()
49
    {
50
  o_useFnmPathname = false;
51
    }
52
41
    // Flags for call to processone(). FtwDirEnter is used when
53
    // Flags for call to processone(). FtwDirEnter is used when
42
    // entering a directory. FtwDirReturn is used when returning to it
54
    // entering a directory. FtwDirReturn is used when returning to it
43
    // after processing a subdirectory.
55
    // after processing a subdirectory.
44
    enum CbFlag {FtwRegular, FtwDirEnter, FtwDirReturn};
56
    enum CbFlag {FtwRegular, FtwDirEnter, FtwDirReturn};
45
    enum Status {FtwOk=0, FtwError=1, FtwStop=2, 
57
    enum Status {FtwOk=0, FtwError=1, FtwStop=2,