Skip to content
Permalink
Browse files
Turns out we were doing this for a (maybe not good, but reasonable) r…
…eason.
  • Loading branch information
icculus committed Aug 14, 2017
1 parent 3078acd commit 63277e500c49d95a10c52903568a4a9d93470aea
Showing with 0 additions and 1 deletion.
  1. +0 −1 src/physfs.c
@@ -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 */

0 comments on commit 63277e5

Please sign in to comment.