]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
ncurses: Apply a tputs() fix from patch 20210403
authorMark Johnston <markj@FreeBSD.org>
Wed, 11 Aug 2021 16:54:29 +0000 (12:54 -0400)
committerMark Johnston <markj@FreeBSD.org>
Wed, 11 Aug 2021 17:08:23 +0000 (13:08 -0400)
commitb2da1032397e3339fbeebcd57b1f179e1d8a2e19
treed4f405863c1347efc4a6bcaf26c648524f9e1aa3
parent879675e9a0d84880cad9834e2ef98e8724c5532c
ncurses: Apply a tputs() fix from patch 20210403

From the (substantially larger) upstream commit:
+ call delay_output_sp to handle BSD-style padding when tputs_sp is
  called, whether directly or internally, to ensure that the SCREEN
  pointer is passed correctly (reports by Henric Jungheim, Juraj
  Lutter).

This fixes bison segfaults observed when colourized output is enabled.
Thanks to jrtc27@ for identifying the upstream fix.

PR: 256731
MFC after: 3 days
contrib/ncurses/ncurses/tinfo/lib_tputs.c