[pypy-commit] cffi default: Two hours of debugging...
arigo
noreply at buildbot.pypy.org
Tue Oct 30 12:45:05 CET 2012
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r1021:bc5a570ba696
Date: 2012-10-30 12:42 +0100
http://bitbucket.org/cffi/cffi/changeset/bc5a570ba696/
Log: Two hours of debugging...
diff --git a/c/file_emulator.h b/c/file_emulator.h
--- a/c/file_emulator.h
+++ b/c/file_emulator.h
@@ -57,6 +57,7 @@
PyErr_SetFromErrno(PyExc_OSError);
goto fail;
}
+ setbuf(f, NULL); /* non-buffered */
Py_DECREF(ob_mode);
ob_mode = NULL;
More information about the pypy-commit
mailing list