[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #54469] common.roff: Changed string causes warning in ".substring .
From: |
Bjarni Ingi Gislason |
Subject: |
[bug #54469] common.roff: Changed string causes warning in ".substring ..." |
Date: |
Wed, 8 Aug 2018 15:23:17 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 |
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 #54469] common.roff: Changed string causes warning in ".substring ...",
Bjarni Ingi Gislason <=