--- src/lib/oogl/util/iobuffer.c.orig 2014-03-13 09:40:01.000000000 +0100 +++ src/lib/oogl/util/iobuffer.c 2014-03-13 09:40:57.000000000 +0100 @@ -257,14 +257,6 @@ iobf->can_seek = -1; } - /* If we have read(2) and write(2), then we disable stdio - * completely and use the system calls directly. - */ -#if SETVBUF_REVERSED - setvbuf(istream, _IONBF, NULL, 0); -#else - setvbuf(istream, NULL, _IONBF, 0); -#endif #if HAVE_FCNTL iobf->fflags = fcntl(iobf->fd, F_GETFL); if (iobf->fflags != -1 && (iobf->fflags & o_nonblock)) {