Update of bug #67734 (group groff):

                  Status:                    None => Fixed
             Assigned to:                    None => gbranden
             Open/Closed:                    Open => Closed
         Planned Release:                    None => 1.24.0

    _______________________________________________________

Follow-up Comment #4:


commit b6a737385406f9fd3df4ece0a4814b9fd1a500d9
Author: G. Branden Robinson <[email protected]>
Date:   Thu Dec 25 23:04:21 2025 -0600

    [troff]: Fix Savannah #67734.
    
    * src/roff/troff/input.cpp: Add new Boolean-valued parameter to
      `read_input_until_terminator()`, `want_identifier`, defaulting to
      false, so that we can distinguish callers that want a GNU troff
      identifier from those gathering some other kind of input.  This is so
      that can we can reject (all) C0 control and Latin-1 Supplement
      characters in identifiers.  (C1 controls are already rejected on
      input.)  The prohibition against C0 controls is to make the language
      less tolerant of unreadable input, and the latter is to enable us to
      pivot to reading UTF-8-encoded input in a future release.
    
      (read_input_until_terminator): Update declaration to add new parameter
      with default value.  Update definition to reject, with error
      diagnostic, character codes less than 32 and greater than
      159.  Add assertion that the putative identifier character is not a
      space (character code 32); these have never been valid in *roff
      identifiers.  This function's callers must ensure that the terminator
      precedes any space in the input.
    
    Fixes <https://savannah.gnu.org/bugs/?67734>.
    
    NEWS: Report change.




    _______________________________________________________

Reply to this item at:

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

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


Reply via email to