Explorar o código

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

Ryan C. Gordon %!s(int64=9) %!d(string=hai) anos
pai
achega
63277e500c
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      src/physfs.c

+ 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 */