URL:
  <https://savannah.gnu.org/bugs/?68449>

                 Summary: [grops] should clear line number after it finishes
reading its input
                   Group: GNU roff
               Submitter: gbranden
               Submitted: Sat 13 Jun 2026 01:57:29 PM UTC
                Category: Driver grops
                Severity: 2 - Minor
              Item Group: Warning/Suspicious behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Unlocked
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Sat 13 Jun 2026 01:57:29 PM UTC By: G. Branden Robinson <gbranden>
In the event one gets diagnostic messages from _grops_ when its done with its
input stream--at which point its PostScript resource manager "psrm.cpp" can
still have much to do--those diagnostics report a line number of the maximum
line number of the input "grout" plus 1.  This is misleading nonsense.

_grops_ should reset the line number to zero when its `do_file()` finishes its
last meal.  _libgroff_'s diagnostic functions interpret that to mean that no
line number applies to the reported message.

Other output drivers should be inspected for the same problem.  I think
_grotty_ already does the right thing.







    _______________________________________________________

Reply to this item at:

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

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

Attachment: signature.asc
Description: PGP signature

Reply via email to