Turns out we were doing this for a (maybe not good, but reasonable) reason.

This commit is contained in:
Ryan C. Gordon 2017-08-14 02:42:13 -04:00
parent 3078acd1eb
commit 63277e500c
1 changed files with 0 additions and 1 deletions

View File

@ -2795,7 +2795,6 @@ static PHYSFS_sint64 doBufferedWrite(PHYSFS_File *handle, const void *buffer,
} /* if */
/* would overflow buffer. Flush and then write the new objects, too. */
/* !!! FIXME-3.0: this should refill the buffer, not flush everything down. */
BAIL_IF_ERRPASS(!PHYSFS_flush(handle), -1);
return fh->io->write(fh->io, buffer, len);
} /* doBufferedWrite */