aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/util.cc
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2005-01-31 14:00:43 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2005-01-31 14:00:43 +0000
commit252c9c91abe146e9c6b16d795c6566df4adafe56 (patch)
tree568655fd2824cea135ad8a5a7a87a2662570ae95 /src/libutil/util.cc
parent33c5d23b814e16687808d5f2d79798fef7dc2a8a (diff)
* Topologically sort paths under the references relation to ensure
that they are deleted in an order that maintains the closure invariant. * Presence of a path in a temporary roots file does not imply that all paths in its closure are also present, so add the closure.
Diffstat (limited to 'src/libutil/util.cc')
-rw-r--r--src/libutil/util.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libutil/util.cc b/src/libutil/util.cc
index 611567c12..5b6fb6202 100644
--- a/src/libutil/util.cc
+++ b/src/libutil/util.cc
@@ -407,7 +407,6 @@ AutoCloseFD::operator int() const
void AutoCloseFD::close()
{
if (fd != -1) {
- debug(format("closing fd %1%") % fd);
if (::close(fd) == -1)
/* This should never happen. */
throw SysError("closing file descriptor");