Follow-up Comment #20, bug #68064 (group groff):

Adding cross reference.


commit 85c8daa27d73da849e221b1ca250d414f6902bd7
Author: G. Branden Robinson <[email protected]>
Date:   Wed Apr 1 18:28:02 2026 -0500

    src/roff/troff/env.cpp: Slightly refactor.
    
    * src/roff/troff/env.cpp: Make request handler functions more consistent
      such that calling `skip_line()` is the last thing they do before
      returning.  The goal is to build confidence that request handlers
      reliably leave the input stream in a well-defined state.  Doing so
      would prevent several bugs I introduced (and resolved, with help from
      fellow developers) in the groff 1.23.0 development cycle, but also
      cases like Savannah #68064, which lurked insidiously for about 35
      years.
    
      (read_hyphenation_patterns_from_file): Stop calling `tok.next()`
      before returning.
    
      (load_hyphenation_patterns_from_file_request)
      (append_hyphenation_patterns_from_file_request): Call `skip_line()`
      before returning.




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?68064>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to