lynx-dev
[Top][All Lists]
Advanced

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

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


From: Thomas E. Dickey
Subject: Re: lynx-dev CYGWIN patch for lynx2.8.4dev.20
Date: Thu, 31 May 2001 15:11:06 -0400 (EDT)

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: address@hidden
>
>
>
> ; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden
>

-- 
T.E.Dickey <address@hidden>
http://dickey.his.com
ftp://dickey.his.com


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

reply via email to

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