Skip to content

Commit

Permalink
Turns out we were doing this for a (maybe not good, but reasonable) r…
Browse files Browse the repository at this point in the history
…eason.
  • Loading branch information
icculus committed Aug 14, 2017
1 parent 3078acd commit 63277e5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/physfs.c
Expand Up @@ -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 */
Expand Down

0 comments on commit 63277e5

Please sign in to comment.