Re: svn commit: r335539 - head/usr.bin/top

2018-06-22 Thread Eitan Adler
On 22 June 2018 at 04:02, Baptiste Daroussin wrote: > wouldn't it be better with a sbuf_clear here? > > if != null: clear else new_auto I did that originally and undid that for reasons I can't remember. Will try it again, if it works, its more correct. -- Eitan Adler Source, Ports, Doc

Re: svn commit: r335539 - head/usr.bin/top

2018-06-22 Thread Baptiste Daroussin
On Fri, Jun 22, 2018 at 09:21:02AM +, Eitan Adler wrote: > Author: eadler > Date: Fri Jun 22 09:21:01 2018 > New Revision: 335539 > URL: https://svnweb.freebsd.org/changeset/base/335539 > > Log: > top(1): reimplement header formatting as sbuf > > The current header formatting is a

svn commit: r335539 - head/usr.bin/top

2018-06-22 Thread Eitan Adler
Author: eadler Date: Fri Jun 22 09:21:01 2018 New Revision: 335539 URL: https://svnweb.freebsd.org/changeset/base/335539 Log: top(1): reimplement header formatting as sbuf The current header formatting is a giant format string that changes global state during the format process.