[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #61206] [pic] causes stale input filename to get cached
From: |
G. Branden Robinson |
Subject: |
[bug #61206] [pic] causes stale input filename to get cached |
Date: |
Thu, 23 Sep 2021 03:17:22 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 |
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/
- [bug #61206] [pic] causes stale input filename to get cached,
G. Branden Robinson <=