svn commit: r302162 - head/usr.sbin/gstat

Alan Somers asomers at freebsd.org
Thu Jun 23 23:16:47 UTC 2016


On Thu, Jun 23, 2016 at 5:13 PM, Alan Somers <asomers at freebsd.org> wrote:
> Author: asomers
> Date: Thu Jun 23 23:13:14 2016
> New Revision: 302162
> URL: https://svnweb.freebsd.org/changeset/base/302162
>
> Log:
>   Fix gstat's interactive f and q commands
>
>   curses and libedit don't play well together. After last year's libedit
>   upgrade in head, they play even less well together. This change resets some
>   curses settings after they get screwed up by libedit calls. Without it,
>   gstat's interactive commands require an extra "enter", screw up the terminal
>   on exit, and screw up the display if the user enters an invalid filter
>   string.
>
>   PR:           204852
>   Submitted by: Keith White
>   Reviewed by:  pfg
>   Approved by:  re (gjb)
>   MFC after:    4 weeks
>   Sponsored by: Spectra Logic Corp
>   Differential Revision:        https://reviews.freebsd.org/D6934
>
> Modified:
>   head/usr.sbin/gstat/gstat.c
>

For the record, the MFC field is a mistake.  This bug does not affect
stable/9 or stable/10.


More information about the svn-src-all mailing list