Update of bug #68285 (group groff):
Status: In Progress => Fixed
Open/Closed: Open => Closed
Planned Release: None => 1.25.0
_______________________________________________________
Follow-up Comment #2:
commit 681c66a4c5120eb70c4fd0f1e51da0a38b363fba
Author: G. Branden Robinson <[email protected]>
Date: Wed Apr 29 23:55:36 2026 -0500
[groff]: Regression-test Savannah #68285.
* src/roff/groff/tests/ti-request-works.sh: Do it.
Test fails at this commit.
commit 962f25ee8557b10f7f197616f9df85a46d9cabdd
Author: G. Branden Robinson <[email protected]>
Date: Thu Apr 30 00:04:22 2026 -0500
[troff]: Fix Savannah #68285.
* src/roff/troff/env.cpp (temporary_indent): When invalidly given no
argument, the `ti` request was failing to correctly skip the remainder
of the input line. Drop two instances of logic that "manually" pump
the input stream by calling `tok.next()`. The second is better
replaced by `skip_line()`, and the first made redundant thereby.
Nearly all request handlers call that function to consume the
remainder of the input line once they've handled all the arguments
they expect.
Fixes <https://savannah.gnu.org/bugs/?68285>. Problem introduced by me
in commit ca8c376830, 2024-11-09. I altered request handlers for four
requests in that commit: `pn`, `ti`, `rchar`, and `hpfcode`, but
fortunately made this mistake only with `ti`.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?68285>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
