diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-05-29T20·46+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-05-29T20·46+0000 |
commit | 58b4198ed8134ec246c0d0689ac46667fc389a97 (patch) | |
tree | 7c91d7dc15ad9ab005b98ee90c095f44d9beaed3 /src/libstore/gc.cc | |
parent | d764409d9714562f74b378f3eea666528aae3130 (diff) |
* Disable the concurrent garbage collector on Cygwin for now.
Diffstat (limited to 'src/libstore/gc.cc')
-rw-r--r-- | src/libstore/gc.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libstore/gc.cc b/src/libstore/gc.cc index dc0b078e52c9..42b862aac281 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( |