freebsd-nq/lib/libcurses
Kenneth D. Merry 13a5277c23 Fix a curses bug exposed by the ":numbers" display of systat -iostat.
This bug showed up when you had more than 3 devices displayed.  (thus
requiring a second line of display)

Here's a quote From the PR:

 When wrefresh() is called with a subwindow as argument, __set_subwin
 might be called with reversed arguments if wrefresh() decides to calls
 quickch().  This may cause use of negative array indexes, with a
 resulting segfault.

 Since quickch() manipulates the line structures belonging to curscr,
 it looks like all subwindows of curscr should be updated.

PR:		bin/8086
Submitted by:	Tor Egge <Tor.Egge@fast.no>
1998-10-12 16:32:32 +00:00
..
EXAMPLES
PSD.doc $* -> ${.PREFIX} 1998-09-11 05:40:12 +00:00
_putchar.c
addbytes.c
addch.c
addnstr.c
box.c
clear.c
clrtobot.c
clrtoeol.c
cr_put.c
ctrace.c
cur_hash.c
curses.3
curses.c
curses.h
delch.c
deleteln.c
delwin.c
erase.c
fullname.c
getch.c
getstr.c
id_subwins.c
idlok.c
initscr.c
insch.c
insertln.c
longname.c
Makefile
move.c
mvwin.c
newwin.c
overlay.c
overwrite.c
printw.c
putchar.c
refresh.c Fix a curses bug exposed by the ":numbers" display of systat -iostat. 1998-10-12 16:32:32 +00:00
scanw.c
scroll.c
setterm.c
standout.c
toucholap.c
touchwin.c
tscroll.c
tstp.c
tty.c
unctrl.c