bug-ncurses
[Top][All Lists]
Advanced

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

Re: Ncurses/dialog static linking on 64bit problem


From: Thomas Dickey
Subject: Re: Ncurses/dialog static linking on 64bit problem
Date: Fri, 11 May 2007 06:09:03 -0400 (EDT)

On Fri, 11 May 2007, VinX wrote:

Thomas Dickey wrote:
probably - ignoring pointers, that is the first difference.
yes, i think that there are random address of memory created by linker
to solve some calls...

It should be set to a blank, e.g., in

ncurses/base/lib_newwin.c:
    SetChar(win->_nc_bkgd, BLANK_TEXT, BLANK_ATTR);


Where? in render_char function?

sorry - I was rushed.

The value that you're looking at is the "background character", which is initialized in newwin() and related functions. It can also be explicitly set in the bkgd/wbkgd functions. Since I did not see the latter in the trace, I'm assuming that there's something wrong with the initialization in newwwin (the "SetChar" macro), or that something accidentally modified the value later.

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net




reply via email to

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