From: scott at igc.apc.org (Scott Weikart)
Date: Sat, 3 Apr 1999 07:29:50 GMT
Subject: fix for posix_fsync under SunOS 4.1.x
Message-ID: <199904030729.XAA24695@igce.igc.org>
X-UID: 1236                                                  

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;




