URL:
  <http://savannah.gnu.org/bugs/?54469>

                 Summary: common.roff: Changed string causes warning in
".substring ..."
                 Project: GNU troff
            Submitted by: bjarniig
            Submitted on: Wed 08 Aug 2018 07:23:16 PM UTC
                Category: None
                Severity: 3 - Normal
              Item Group: Build/Installation
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:


Subject: common.roff: Changed string causes warning in ".substring ..."

troff: ../contrib/hdtbl/examples/common.roff:201: warning: end index of
substring out of range, set to string length

  The culprit is a change, whose influence on "substring" was not
checked.

.\" Since this just generates example output, we don't need good randomness;
.\" basing this purely on the time and not on the process ID allows better
.\" integration with reproducible builds.
.\" .ds random-s1 \n[minutes]\n[seconds]\n[$$]\n[hours]\"
.ds random-s1 \n[minutes]\n[seconds]\n[hours]\"
.\" prevent overflow
.substring random-s1 0 8






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?54469>

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


_______________________________________________
bug-groff mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-groff

Reply via email to