Bug in less version 406.
Pieter de Goeje
pieter at degoeje.nl
Fri Aug 3 17:18:47 PDT 2007
On Saturday 04 August 2007, Sean C. Farley wrote:
> On Sat, 4 Aug 2007, Pieter de Goeje wrote:
>
> *snip*
>
> > There's also another regression in less: it doesn't automatically
> > repaint the screen anymore when you resize the terminal.
>
> I have already reported that regression to Mark Nudelman. He is looking
> into an appropriate fix since this regression was introduced when fixing
> another bug.
>
> Sean
Hmm I wonder what that other bug might have been...
If I look at signal.c I see two signal handlers for things related to window
changes. One for SIGWINCH and one for SIGWIND. The "if(reading) intread();"
statement was removed from the SIGWINCH handler. If removing that statement
fixed the other bug why wasn't it removed from SIGWIND's handler? Does
SIGWIND have different semantics?
Anyway, re-adding "if(reading) intread();" to signal.c:96 makes it work again,
but I wonder what I broke by doing that.
Regards,
Pieter de Goeje
More information about the freebsd-stable
mailing list