On Wed, Sep 03, 2008 at 01:10:14AM +0200, Peter Chubb wrote: > > Hi Ian, > Here's the patch to fix three issues: ski was looking inside a > private data structure for ncurses, so when libbfd was available, it > FTBFS. > > Also, there was a memory leak (about 240 bytes for each line > disassembled) and an incompatibility with the latest libcurses (An > explicit \r blanks the line nowadays).
hmm - \r, or \n?
man addch says something like
If ch is a tab, newline, or backspace, the cursor is moved
appropriately within the window. A newline also does a
clrtoeol() before moving. Tabs are considered to be at every
...
> Index: ski-1.3.2/src/linux/dwarf-linux.c
> ===================================================================
> --- ski-1.3.2.orig/src/linux/dwarf-linux.c 2008-09-03 07:39:32.506572282
> +1000
> +++ ski-1.3.2/src/linux/dwarf-linux.c 2008-09-03 07:40:51.558864149 +1000
> @@ -155,7 +155,7 @@
> first.function = function;
> first.line = line;
> first.num_lines = 1;
> - first.limit = sect->_cooked_size;
I don't recall this in ncurses (perhaps it's derived from something?)
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
pgpJV5fZNKcpH.pgp
Description: PGP signature

