top: swat bug affecting batch mode and width provision
Normally, the internally tracked 'Screen_cols' can not exceed the lessor of 512 or actual screen width. There was one case, however, where that 512 byte upper limit was no longer properly imposed as it should have been. When operating in 'Batch' mode the actual screen width was allowed to be exceeded when the optional -w switch was also used. But, it should never have exceeded 512. This patch ensures the upper limit is always observed. Reference(s): http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=721204 Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
parent
819ede1a6b
commit
06c19f5ba4
Loading…
Reference in New Issue
Block a user