From 58b4198ed8134ec246c0d0689ac46667fc389a97 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 29 May 2006 20:46:51 +0000 Subject: [PATCH] * Disable the concurrent garbage collector on Cygwin for now. --- src/libstore/gc.cc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/libstore/gc.cc b/src/libstore/gc.cc index dc0b078e5..42b862aac 100644 --- a/src/libstore/gc.cc +++ b/src/libstore/gc.cc @@ -108,6 +108,10 @@ static AutoCloseFD fdTempRoots; void addTempRoot(const Path & path) { +#ifdef __CYGWIN__ + return; +#endif + /* Create the temporary roots file for this process. */ if (fdTempRoots == -1) { @@ -172,6 +176,10 @@ typedef list FDs; static void readTempRoots(PathSet & tempRoots, FDs & fds) { +#ifdef __CYGWIN__ + return; +#endif + /* Read the `temproots' directory for per-process temporary root files. */ Strings tempRootFiles = readDirectory(