summary refs log tree commit diff
path: root/src/libexpr
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2007-01-29 13:32:50 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2007-01-29 13:32:50 +0000
commit7dedbd896ade732ab2fe88a5fe88e069cb329fa5 (patch)
treeb6d5afe41fc20436f891226c4333b085d2adea07 /src/libexpr
parent84a84afb0ec60551c606fa95699afb6153465704 (diff)
downloadguix-7dedbd896ade732ab2fe88a5fe88e069cb329fa5.tar.gz
* filterSource: pass strings to the predicate function instead of
  paths.  Paths can have unexpected semantics.

Diffstat (limited to 'src/libexpr')
-rw-r--r--src/libexpr/primops.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/primops.cc b/src/libexpr/primops.cc
index 270bc4446b..b80e206921 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" :