On Thu, 31 May 2001, Doug Kaufman wrote:

> 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.

I worked around this by recoding the table as a function (though it would
be nice if cygwin were at least as POSIX-compatible as Visual C++ ;-)


>                                 Doug
>
> --- 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: [EMAIL PROTECTED]
>
>
>
> ; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to [EMAIL PROTECTED]
>

-- 
T.E.Dickey <[EMAIL PROTECTED]>
http://dickey.his.com
ftp://dickey.his.com


; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to [EMAIL PROTECTED]

Reply via email to