aboutsummaryrefslogtreecommitdiff
path: root/src/expr.cc
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-10-16 16:29:57 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-10-16 16:29:57 +0000
commit0791282b2f42313c94dd9bc85b24428e585cd099 (patch)
tree38cb57ffea3c700aeed5836afd7927369782d315 /src/expr.cc
parentab5e8767fafb2d62213e3f1558ead2882bc65c05 (diff)
* Substitutes and nix-pull now work again.
* Fixed a segfault caused by the buffering of stderr. * Fix now allows the specification of the full output path. This should be used with great care, since it by-passes the normal hash generation. * Incremented the version number to 0.4 (prerelease).
Diffstat (limited to 'src/expr.cc')
-rw-r--r--src/expr.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/expr.cc b/src/expr.cc
index cfc4af1f3..cead80342 100644
--- a/src/expr.cc
+++ b/src/expr.cc
@@ -22,14 +22,6 @@ Hash hashTerm(ATerm t)
}
-ATerm termFromPath(const Path & path)
-{
- ATerm t = ATreadFromNamedFile(path.c_str());
- if (!t) throw Error(format("cannot read aterm from `%1%'") % path);
- return t;
-}
-
-
Path writeTerm(ATerm t, const string & suffix)
{
/* The id of a term is its hash. */