summary refs log tree commit diff
path: root/src/libstore/gc.cc
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-05-29 20:46:51 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-05-29 20:46:51 +0000
commit58b4198ed8134ec246c0d0689ac46667fc389a97 (patch)
tree7c91d7dc15ad9ab005b98ee90c095f44d9beaed3 /src/libstore/gc.cc
parentd764409d9714562f74b378f3eea666528aae3130 (diff)
downloadguix-58b4198ed8134ec246c0d0689ac46667fc389a97.tar.gz
* Disable the concurrent garbage collector on Cygwin for now.
Diffstat (limited to 'src/libstore/gc.cc')
-rw-r--r--src/libstore/gc.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libstore/gc.cc b/src/libstore/gc.cc
index dc0b078e52..42b862aac2 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<FDPtr> 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(