lynx-dev
[Top][All Lists]
Advanced

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

Re: lynx-dev Patch for atexit (dev.21) and DOS


From: Leonid Pauzner
Subject: Re: lynx-dev Patch for atexit (dev.21) and DOS
Date: Mon, 5 Apr 1999 13:04:55 +0400 (MSD)

4-Apr-99 22:36 Doug Kaufman wrote:
> The recent changes ifdef'ing LY_FIND_LEAKS by making atexit a no-op
> function breaks the DOS port, since that port depends on atexit to
> keep the DOS BREAK function properly set on exit. The following patch
> puts back atexit, and ifdef's each place where atexit isn't needed
> except when finding leaks.

> I also included a long overdue DOS patch for LYMain.c, fixing the
> determination of BREAK status to be independent of SLANG or PDCurses.

> The patch was done on a DOS machine, with all long filenames restored
> by hand. I hope there aren't any typos.

> This was done against dev.21, with recent patches already applied, so
> line numbers may not be exact against an unpatched dev.21
>                                      Doug

Probably a typo:
lynx_called_initscr is defined(USE_COLOR_TABLE) && defined(COLOR_CURCES)
so you got a compilation error if build with USE_COLOR_STYLE.

> --- lynx2-8-2/src/LYCurses.c  Sun Apr  4 11:21:40 1999
> +++ lynx2-8-2/src/LYCurses.c.new      Sun Apr  4 13:29:18 1999
> @@ -784,10 +784,8 @@
>       parse_userstyles();
>  #endif
>       first_time = FALSE;
> -#if USE_COLOR_TABLE
>       lynx_init_colors();
>       lynx_called_initscr = TRUE;
> -#endif /* USE_COLOR_TABLE */
>      }
>  #ifdef __DJGPP__
>      else sock_init();




reply via email to

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