diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2007-01-29T13·32+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2007-01-29T13·32+0000 |
commit | 7dedbd896ade732ab2fe88a5fe88e069cb329fa5 (patch) | |
tree | b6d5afe41fc20436f891226c4333b085d2adea07 /src/libexpr/primops.cc | |
parent | 84a84afb0ec60551c606fa95699afb6153465704 (diff) |
* filterSource: pass strings to the predicate function instead of
paths. Paths can have unexpected semantics.
Diffstat (limited to 'src/libexpr/primops.cc')
-rw-r--r-- | src/libexpr/primops.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/primops.cc b/src/libexpr/primops.cc index 270bc4446bff..b80e20692127 100644 --- a/src/libexpr/primops.cc +++ b/src/libexpr/primops.cc @@ -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" : |