bug-groff
[Top][All Lists]
Advanced

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

[bug #64122] [tbl] numeric overflow when restoring hyphenation margin an


From: G. Branden Robinson
Subject: [bug #64122] [tbl] numeric overflow when restoring hyphenation margin and spacing
Date: Fri, 28 Apr 2023 06:17:54 -0400 (EDT)

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

                 Summary: [tbl] numeric overflow when restoring hyphenation
margin and spacing
                   Group: GNU roff
               Submitter: gbranden
               Submitted: Fri 28 Apr 2023 10:17:52 AM UTC
                Category: Preprocessor tbl
                Severity: 3 - Normal
              Item Group: Incorrect behaviour
                  Status: In Progress
                 Privacy: Public
             Assigned to: gbranden
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Fri 28 Apr 2023 10:17:52 AM UTC By: G. Branden Robinson <gbranden>
This is a post-groff 1.22.4 problem; groff 1.22.4 didn't restore these
document parameters at all, meaning that a tbl(1) text block that manipulated
them could screw up the rest of the input.

Background:

https://lists.gnu.org/archive/html/groff/2023-04/msg00258.html
https://lists.gnu.org/archive/html/groff/2023-04/msg00313.html

Illustration:

$ cat ./EXPERIMENTS/hym-and-hys.roff
.hym 10m
.hys 5m
.tm before: .hym=\n[.hym], .hys=\n[.hys]
.TS
L.
foo
.TE
.nf
.tm after: .hym=\n[.hym], .hys=\n[.hys]
.if !((\n[.hym] = 10m) & (\n[.hys] = 5m)) .ab
$ ./build/test-groff -tz ./EXPERIMENTS/hym-and-hys.roff
before: .hym=100000, .hys=50000
after: .hym=1000000000, .hys=500000000










    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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