lynx-dev
[Top][All Lists]
Advanced

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

Re: lynx-dev Patch for dev.18


From: T.E.Dickey
Subject: Re: lynx-dev Patch for dev.18
Date: Sun, 12 Jul 1998 10:22:28 -0400 (EDT)

> I built lynx2.8.1dev.18 with SLANG and the DJGPP_KEYHANDLER for DOS, 
> but it crashes on startup when reading lynx.cfg. The following patch 
> to LYReadCFG.c seems to fix it so it no longer dumps core (or the DOS 
> equivalent). I also appended the previously posted patch to dev.17 for 
> DOS in LYGetFile.c. 
thanks (will integrate - the DJGPP one was after my cutoff for the previous
patch)

>                               Doug 
>  
>  
> *** lynx2-8-1/src/LYGetFile.c Thu Apr 23 05:35:22 1998 
> --- lynx2-8-1/src/LYGetFile.c.new     Sat Jul  4 23:58:16 1998 
> *************** 
> *** 429,434 **** 
> --- 429,438 ---- 
>                       /* 
>                        *  Run the command. 
>                        */ 
> + #ifdef __DJGPP__ 
> +             __djgpp_set_ctrl_c(0); 
> +             _go32_want_ctrl_break(1); 
> + #endif /* __DJGPP__ */ 
>                       if (strstr(p,"//") == p+9) 
>                           system(p+11); 
>                       else 
...

> *** lynx2-8-1/src/LYReadCFG.c Sat Jul 11 16:44:02 1998 
> --- lynx2-8-1/src/LYReadCFG.c.new     Sat Jul 11 21:33:54 1998 
> *************** 
> *** 1111,1117 **** 
>           break; 
>    
>       case CONF_ENV: 
> !         if (getenv (tbl->name) == 0) { 
>   #ifdef VMS 
>               Define_VMSLogical(tbl->name, value); 
>   #else 
> --- 1111,1117 ---- 
>           break; 
>    
>       case CONF_ENV: 
> !         if ((getenv (tbl->name) == 0) && (q->str_value != 0)) { 
>   #ifdef VMS 
>               Define_VMSLogical(tbl->name, value); 
>   #else 
actually (I found a different cause, testing with Purify while trying to
see a problem with the VERBOSE_IMAGES) the malloc a couple of lines down
should be a calloc.

-- 
Thomas E. Dickey
address@hidden
http://www.clark.net/pub/dickey

reply via email to

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