| 
     
      
      
      From: Rildo P. <ri...@pr...> - 2005-07-29 12:15:49
      
     
   | 
Hi David,
David Essex wrote:
> Rildo Pragana wrote:
>
> > Mr. Ravi Katti  have posted a program that show an obscure bug, which
> > compiled without a glitch, but crashed his program at runtime. After
> > some hours debugging I found why. There is a serious bug in memory
> > allocation, which I have already fixed.
>
> That was a difficult bug to isolate.
> Good work.
>
Thanks. You have been doing a nice work too.
>
> > ...
> > This is based on the SourceForge CVS, but some days before the
> > latest 0.63 release.
> > ...
>
> Unfortunately some bug fixes to the curses code (scr_curses.c) were 
> omitted.
>
> For example the 'pair_content()' function call will cause a seg-fault 
> in some versions of ncurses when the terminal does not support color.
> So it needs to be enclosed in a 'has_colors()' test.
>
> Example:
> if (has_colors()) {
>    start_color();
>    pair_content(0,&fore_color,&back_color);
> }
>
> There were also some fixes to attributes, such as underline, which 
> failed to work under some terminals (ex: vt220).
>
> Anyway these changes should not interfere with your code changes, so I 
> think they should be included.
>
I will try to merge the other way around, that is, SF's code in mine.
>
> > Unfortunately, I lost access to SF's CVS server.
>
> You still have admin status for the TC project on SF.
> What kind of problem are you experiencing ?
>
If I try to "cvs update" from my machine, it asks for the password then 
stay locked for ever. The same with all other cvs commands.
best regards,
Rildo
-- 
 ------------------------------------------------------------------
 Rildo Pragana                   FPGA/uControllers * Linux * tcl/tk
 R.Joaquim Nabuco,92/1102 Derby  http://www.pragana.net
 Recife, PE - Brazil 52011-000   +55-81-3223-5694  / 8837-6122
 |