Date: Mon, 29 Apr 2002 21:10:03 -0700 (PDT) From: Mark Valentine <mark@thuvia.demon.co.uk> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/37552: Segfault in /usr/bin/ee Message-ID: <200204300410.g3U4A3G97234@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/37552; it has been noted by GNATS. From: Mark Valentine <mark@thuvia.demon.co.uk> To: skyhawk@skyhawk.ca (Andrew Fremantle), freebsd-gnats-submit@freebsd.org Cc: sobomax@freebsd.org Subject: Re: bin/37552: Segfault in /usr/bin/ee Date: Tue, 30 Apr 2002 05:08:20 +0100 (BST) The following patch seems to fix it on my FreeBSD 4.5-STABLE system. count_win was only ever being set up with info_win at startup, and not when info_win is re-created from the menu options. count_win doesn't seem to exist in the vendor's latest version (1.4.5a). Cheers, Mark. Index: ee.c =================================================================== RCS file: /usr/cvs/src/usr.bin/ee/ee.c,v retrieving revision 1.16.2.5 diff -u -r1.16.2.5 ee.c --- ee.c 1 Sep 2001 16:35:45 -0000 1.16.2.5 +++ ee.c 30 Apr 2002 03:53:10 -0000 @@ -3692,6 +3692,9 @@ midscreen(min(scr_vert, last_line), point); clearok(info_win, TRUE); paint_info_win(); + count_win = newwin(1, COLS, 5, 0); + leaveok(count_win, TRUE); + wrefresh(count_win); wrefresh(text_win); clear_com_win = TRUE; } -- Mark Valentine, Thuvia Labs <mark@thuvia.co.uk> <http://www.thuvia.co.uk> "Tigers will do ANYTHING for a tuna fish sandwich." Mark Valentine uses "We're kind of stupid that way." *munch* *munch* and endorses FreeBSD -- <http://www.calvinandhobbes.com> <http://www.freebsd.org> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204300410.g3U4A3G97234>