diff --git a/stepmania/src/RageFileDriverDirect.cpp b/stepmania/src/RageFileDriverDirect.cpp index c9ec950420..26b7e0e999 100644 --- a/stepmania/src/RageFileDriverDirect.cpp +++ b/stepmania/src/RageFileDriverDirect.cpp @@ -199,8 +199,7 @@ 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 ) @@ -219,7 +218,6 @@ bool RageFileObjDirect::FinalFlush() } close( dirfd ); -#endif return true; }