Update of bug #68511 (group groff):
Status: In Progress => Fixed
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #18:
commit e64bec590af55c29579ae4990665badc266f63a1
Author: G. Branden Robinson <[email protected]>
Date: Sat Jul 11 19:26:56 2026 -0500
[troff]: Fix Savannah #68511.
...recovering from a botched refactor.
* src/roff/troff/input.cpp (read_any_character): New function reads any
groff character--ordinary, special, or indexed--from the input stream,
skipping any spaces. While a fairly simple task, it can be done
incorrectly nevertheless. Multiple request handlers can use this.
Start...
(set_hyphenation_codes): ...here. Rearrange "do/while" loop to
"while" loop. Advance the input stream after reading the destination
character in a pair. Failing to do so was the defect. Simplify an
error diagnostic message. Simplify a conditional code path.
Fixes <https://savannah.gnu.org/bugs/?68511>. Problem introduced by me
in commit 994fcce775, 24 May. Thanks to Dave Kemper for the report.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?68511>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
