W3C home > Mailing lists > Public > www-lib@w3.org > January to March 1999

FreeBSD patch for libwww

From: <jose.kahan@w3.org>
Date: Thu, 7 Jan 1999 19:18:13 +0100 (MET)
Message-Id: <199901071818.TAA13270@tuvalu.inrialpes.fr>
To: www-lib@w3.org
Hello libwww'ers,

In the Amaya list, we received some patches for compiling Amaya under
FreeBSD. One of those patches concerns libwww:

======================
Second is a small patch to the libwww sources.  If you hear from users
of any other O_SYNC deprived OSen, it might be more efficient to just
say #ifndef O_SYNC.

--- libwww/Library/src/HTMemLog.c.orig	Wed Dec 16 11:55:44 1998
+++ libwww/Library/src/HTMemLog.c	Tue Jan  5 20:13:09 1999
@@ -15,7 +15,7 @@
 #include "HTMemLog.h"
 #include "HTTimer.h"
 
-#ifdef WWW_MSWINDOWS
+#if defined(WWW_MSWINDOWS) || defined (__FreeBSD__)
 #define OPEN_FLAGS	O_WRONLY|O_CREAT|O_TRUNC
 #else /* WWW_MSWINDOWS */
 #define OPEN_FLAGS	O_WRONLY|O_CREAT|O_TRUNC|O_SYNC

-- 

=====================

Has anyone else had this problem before? 
Does anyone object if we add this modif directly to the CVS base?

Thanks,

-Jose
Received on Thursday, 7 January 1999 13:18:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:28 GMT