Fix faulty reversion of my changes to unsafeDiscardOutputDependency

This commit is contained in:
Shea Levy 2011-11-06 07:03:14 +00:00
parent ca0d47a70c
commit 2ab29be70c

View file

@ -989,7 +989,7 @@ static void prim_unsafeDiscardOutputDependency(EvalState & state, Value * * args
PathSet context2;
foreach (PathSet::iterator, i, context) {
Path p = *i;
p = "~" + string(p, 1);
if (p.at(0) == '=') p = "~" + string(p, 1);
context2.insert(p);
}