mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@132921 d073be05-634f-4543-b044-5fe20cf6d1d6
18 lines
568 B
Diff
18 lines
568 B
Diff
--- 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)) {
|