bug-ncurses
[Top][All Lists]
Advanced

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

Re: derwin problems


From: Thomas Dickey
Subject: Re: derwin problems
Date: Sat, 11 May 2002 12:25:56 -0400
User-agent: Mutt/1.2.5i

On Fri, May 10, 2002 at 10:04:19PM -0700, Scott Beck wrote:
 
> Well here it is. I really think it is something I am doing in my code though.
> I just find it hard to believe that this simple resize is broken in ncurses.

generally - just reading the code - it won't work properly.  You're attempting
to call resizeterm within the signal handler.  It used to work

man resizeterm:

       While  this  function  is intended to be used to support a
       signal handler (i.e., for SIGWINCH), care should be  taken
       to  avoid invoking it in a context where malloc or realloc
       may have been interrupted, since it uses those  functions.

(any issues with derwin are beyond that, of course).

-- 
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net



reply via email to

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