[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev connect_time patch
From: |
Leonid Pauzner |
Subject: |
Re: lynx-dev connect_time patch |
Date: |
Mon, 28 Apr 2003 21:46:43 +0400 (MSD) |
4-Apr-2003 13:56 Gisle Vanem wrote:
> Patch in lyutils.c: undef "select" in case Lynx is compiled with
> curses (and not S-Lang). Watt-32's select_s cannot be used on a
> stdin handle, so one must undef it and use djgpp's select().
BTW, with this only patch, DJGPP compiled lynx lose nearly 50% performance,
tested on huge local file. Native DJGPP select() seems too inefficient.
> diff -H -B -u3 -r orig/src/lyutils.c ./src/lyutils.c
> --- orig/src/lyutils.c Wed Jan 22 09:43:12 2003
> +++ ./src/lyutils.c Wed Jan 22 14:04:32 2003
> @@ -113,6 +113,10 @@
> #define FD_SETSIZE 256
> #endif /* !FD_SETSIZE */
> +#ifdef __DJGPP__
> +#undef select /* defined to select_s in www_tcp.h */
> +#endif
> +
; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden