[Top][All Lists]

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

Re: Invisible form fields w/ ncurses-5.7 on Fedora

From: Thomas Dickey
Subject: Re: Invisible form fields w/ ncurses-5.7 on Fedora
Date: Fri, 12 Aug 2011 18:51:27 -0400 (EDT)

On Fri, 12 Aug 2011, Grant Edwards wrote:

On 2011-08-12, Grant Edwards <address@hidden> wrote:

I'm sure it's something I'm doing wrong in my application, but I can't
figure out what it might be.

Doh!  After beating my head against the wall for a day and a half, it
only takes 5 miutes after posting to stumble across the problem.

There was a type in my code:

  w = newwin(rows,cols,y,x);                     assert(w);
  s = derwin(w,rows-2,cols-2,1,1);               assert(s);

That second set_form_win() call should have been set_form_sub().

I've no clue why my broken code worked for so long on so many systems
and just recently failed only on Fedora systems.

perhaps just different memory layout. I come across very old bugs periodically, and wonder how they escaped notice for so long. I don't recall anything special about set_form_win - looking at the change history, I see that I made a macro substitution in this code in 2009/11/07 - and somewhat earlier in 2009 was working to merge Juergen's changes, that affected the internals. So if your two "5.7" versions fell on each side of that timespan, then there might be some breakage for me to investigate.

Thomas E. Dickey

reply via email to

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