]> git.saurik.com Git - apple/libsecurity_codesigning.git/blobdiff - lib/renum.cpp
libsecurity_codesigning-55037.15.tar.gz
[apple/libsecurity_codesigning.git] / lib / renum.cpp
index 8ab499e9ef88c5fd22976815aae07a19b5aee7d8..a5b8e78fadba8436fe8cbe8fb73177c1d47bbb2c 100644 (file)
@@ -39,7 +39,7 @@ ResourceEnumerator::ResourceEnumerator(string path)
 {
        assert(!mPath.empty());
        const char * paths[2] = { path.c_str(), NULL };
-       mFTS = fts_open((char * const *)paths, FTS_PHYSICAL, NULL);
+       mFTS = fts_open((char * const *)paths, FTS_PHYSICAL | FTS_COMFOLLOW | FTS_NOCHDIR, NULL);
        if (!mFTS)
                UnixError::throwMe();
 }