summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--project2/files/fsRows.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/project2/files/fsRows.cpp b/project2/files/fsRows.cpp
index 0020205..9dfa3f8 100644
--- a/project2/files/fsRows.cpp
+++ b/project2/files/fsRows.cpp
@@ -100,7 +100,7 @@ FsRows::execute(SearchState & ss, const Path & dir, const RowProcessor * rp) con
ss.curPathStr = itr->path().string();
ss.fields[0] = ss.curPathStr;
ss.curPath = itr->path();
- stat(ss.curPathStr.c_str(), &ss.curStat);
+ lstat(ss.curPathStr.c_str(), &ss.curStat);
if (boost::algorithm::all(ss.specs, boost::bind(&SpecBase::matches, _1, &ss))) {
ss.process(rp);