bug-groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #66038] [troff] want "invalid line length" diagnostic to not misrep


From: G. Branden Robinson
Subject: [bug #66038] [troff] want "invalid line length" diagnostic to not misrepresent user input
Date: Wed, 31 Jul 2024 02:43:27 -0400 (EDT)

Update of bug #66038 (group groff):

                  Status:             In Progress => Fixed                  
             Open/Closed:                    Open => Closed                 
         Planned Release:                    None => 1.24.0                 

    _______________________________________________________

Follow-up Comment #7:


commit 93d264070da6fff3f78c3831032eeba46aeeb2aa
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date:   Tue Jul 30 21:40:44 2024 -0500

    [troff]: Fix Savannah #66038 ("computed" lengths).
    
    * src/roff/troff/div.cpp (page_length):
    * src/roff/troff/env.cpp (line_length, title_length): Tweak diagnostic
      to say "computed" rather than "invalid", because while the value we're
      complaining about _is_ invalid, it is also a numeric expression that
      may have traveled a great distance through the alimentary canal of GNU
      troff's arithmetic evaluator, and bear little resemblance to what the
      user typed in a source document.  Among other things, we no longer
      have any idea what scaling units were supplied, but can report them
      only in basic units.
    
    Fixes <https://savannah.gnu.org/bugs/?66038>.  Thanks to Dave Kemper for
    the report.




    _______________________________________________________

Reply to this item at:

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

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

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]