disable directory flushing for now (oops, meant to commit this two days ago)

This commit is contained in:
Glenn Maynard
2004-03-28 23:17:08 +00:00
parent 06a900de08
commit d038179117
+3 -1
View File
@@ -199,7 +199,8 @@ bool RageFileObjDirect::FinalFlush()
SetError( strerror(errno) );
return false;
}
#if 0
/* XXX: causing problems for some reason */
/* Wait for the directory to be flushed. */
int dirfd = open( Dirname(path), O_RDONLY );
if( dirfd == -1 )
@@ -218,6 +219,7 @@ bool RageFileObjDirect::FinalFlush()
}
close( dirfd );
#endif
return true;
}