fix for posix_fsync under SunOS 4.1.x
Scott Weikart
scott at igc.apc.org
Sat Apr 3 02:29:50 EST 1999
Here's a patch to make sure that posix_fsync will compile on all operating
systems (specifically needed for SunOS 4.1.x).
This unified diff was made against Python 1.5.2 beta 2 .
-scott
--- Modules/posixmodule.c~ Tue Feb 16 11:38:04 1999
+++ Modules/posixmodule.c Fri Apr 2 22:18:03 1999
@@ -647,6 +647,8 @@
"fsync(fildes) -> None\n\
force write of file with filedescriptor to disk.";
+extern int fsync(int); /* Prototype just in case */
+
static PyObject *
posix_fsync(self, args)
PyObject *self;
More information about the Python-list
mailing list