forked from lix-project/lix
* Disable the concurrent garbage collector on Cygwin for now.
This commit is contained in:
parent
d764409d97
commit
58b4198ed8
|
@ -108,6 +108,10 @@ static AutoCloseFD fdTempRoots;
|
||||||
|
|
||||||
void addTempRoot(const Path & path)
|
void addTempRoot(const Path & path)
|
||||||
{
|
{
|
||||||
|
#ifdef __CYGWIN__
|
||||||
|
return;
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Create the temporary roots file for this process. */
|
/* Create the temporary roots file for this process. */
|
||||||
if (fdTempRoots == -1) {
|
if (fdTempRoots == -1) {
|
||||||
|
|
||||||
|
@ -172,6 +176,10 @@ typedef list<FDPtr> FDs;
|
||||||
|
|
||||||
static void readTempRoots(PathSet & tempRoots, FDs & fds)
|
static void readTempRoots(PathSet & tempRoots, FDs & fds)
|
||||||
{
|
{
|
||||||
|
#ifdef __CYGWIN__
|
||||||
|
return;
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Read the `temproots' directory for per-process temporary root
|
/* Read the `temproots' directory for per-process temporary root
|
||||||
files. */
|
files. */
|
||||||
Strings tempRootFiles = readDirectory(
|
Strings tempRootFiles = readDirectory(
|
||||||
|
|
Loading…
Reference in a new issue