fflush_stdout.diff 435 B

123456789101112
  1. diff -Naur fbdump-0.4.2/src/surface.c fbdump-0.4.2.patched/src/surface.c
  2. --- fbdump-0.4.2/src/surface.c 2007-03-02 22:13:50.000000000 -0500
  3. +++ fbdump-0.4.2.patched/src/surface.c 2017-03-24 16:54:08.538269897 -0400
  4. @@ -49,6 +49,7 @@
  5. /* Write out the converted pixels to the stream. */
  6. fwrite( buf, width * 3, 1, stream );
  7. + fflush(stream);
  8. /* And get a ptr to the next row. */
  9. rowptr += s->modulo;