Quellcode durchsuchen

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

Ryan C. Gordon vor 8 Jahren
Ursprung
Commit
63277e500c
1 geänderte Dateien mit 0 neuen und 1 gelöschten Zeilen
  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 */