From 228ea7c2f988523d2c168f97975ab0e85f412e78 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 18 Dec 2012 20:43:47 +0100 Subject: [PATCH] Revert brain fart This reverts commit cc511fd65b7b6de9e87e72fb4bed16fc7efeb8b7. --- src/libstore/build.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/libstore/build.cc b/src/libstore/build.cc index 035151bb2..ce87eaed2 100644 --- a/src/libstore/build.cc +++ b/src/libstore/build.cc @@ -3141,8 +3141,6 @@ void Worker::waitForInput() } } - assert(fdMax != 0); - if (select(fdMax, &fds, 0, 0, useTimeout ? &timeout : 0) == -1) { if (errno == EINTR) return; throw SysError("waiting for input");