* filterSource: pass strings to the predicate function instead of

paths.  Paths can have unexpected semantics.
This commit is contained in:
Eelco Dolstra 2007-01-29 13:32:50 +00:00
parent 84a84afb0e
commit 7dedbd896a
1 changed files with 1 additions and 1 deletions

View File

@ -749,7 +749,7 @@ struct FilterFromExpr : PathFilter
Expr call =
makeCall(
makeCall(filter, makePath(toATerm(path))),
makeCall(filter, makeStr(path)),
makeStr(
S_ISREG(st.st_mode) ? "regular" :
S_ISDIR(st.st_mode) ? "directory" :