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

                 Summary: [pic] causes stale input filename to get cached
                 Project: GNU troff
            Submitted by: gbranden
            Submitted on: Thu 23 Sep 2021 07:17:20 AM UTC
                Category: Preprocessor pic
                Severity: 3 - Normal
              Item Group: Incorrect behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:

Reproducer:


$ cat EXPERIMENTS/manhose1.man 
.TH manhose1 1 2021-09-23 "groff test suite"
.SH Name
manhose1 \- part 1 of two-piece hosefest
$ cat EXPERIMENTS/manhose2.man 
.TH manhose2 1
.SH Name
manhose2 \- part 2 of two-piece hosefest
$ ./build/test-groff -z -ww -rCHECKSTYLE=3 -p -man EXPERIMENTS/manhose*
an.tmac:EXPERIMENTS/manhose1.man:1: style: .TH missing third argument; suggest
document modification date in ISO 8601 format (YYYY-MM-DD)
an.tmac:EXPERIMENTS/manhose1.man:1: style: .TH missing fourth argument;
suggest package/project name and version (e.g., "groff 1.23.0")


Note how the diagnostic thrown refers to the incorrect file.  The value of
\n[.F] is wrong.  Taking out the `-p` option fixes it in this case.




    _______________________________________________________

Reply to this item at:

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

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


Reply via email to