[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

lynx-dev CYGWIN patch for lynx2.8.4dev.20

From: Doug Kaufman
Subject: lynx-dev CYGWIN patch for lynx2.8.4dev.20
Date: Thu, 31 May 2001 11:47:19 -0700 (PDT)

Because of a change in the include/sys/stat.h file in Cygwin 1.3.1,
lynx no longer compiles out of the box under Cygwin. I think that the
following patch is the appropriate fix, but I am not sure why they
made the change in stat.h. This should allow lynx to compile with the
Cygwin 1.1.x or the 1.3.x series.

--- lynx2-8-4/WWW/Library/Implementation/www_tcp.h.ori  Wed Oct 25 09:35:28 2000
+++ lynx2-8-4/WWW/Library/Implementation/www_tcp.h      Wed May 30 18:19:34 2001
@@ -622,6 +622,15 @@
 #endif /* __MVS__ */
 #include <sys/file.h>       /* For open() etc */
+#ifdef __CYGWIN__
+#undef S_IXUSR
+#undef S_IXGRP
+#undef S_IXOTH
+#define S_IXUSR 0000100
+#define S_IXGRP 0000010
+#define S_IXOTH 0000001
+#endif /* __CYGWIN__ */
 #if defined(NeXT) || defined(sony_news)
 #ifndef mode_t
 typedef unsigned short mode_t;

Doug Kaufman
Internet: address@hidden

; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]