[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 01/02: Remove unnecessary randomness from example output
From: |
Colin Watson |
Subject: |
[groff] 01/02: Remove unnecessary randomness from example output |
Date: |
Sun, 11 Mar 2018 18:54:42 -0400 (EDT) |
cjwatson pushed a commit to branch master
in repository groff.
commit 3b4b85baa3e2a252a6480b3cfb9cf984eff1b71a
Author: Colin Watson <address@hidden>
Date: Sun Mar 11 22:49:52 2018 +0000
Remove unnecessary randomness from example output
The hdtbl examples don't need good randomness, as they're only
example output; removing the process ID from consideration allows
better integration with reproducible builds.
* contrib/hdtbl/examples/common.roff (random-s1): Remove process ID.
---
ChangeLog | 10 ++++++++++
contrib/hdtbl/examples/common.roff | 6 +++++-
2 files changed, 15 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index b0a7a38..0067037 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2018-03-11 Colin Watson <address@hidden>
+
+ Remove unnecessary randomness from example output.
+
+ The hdtbl examples don't need good randomness, as they're only
+ example output; removing the process ID from consideration allows
+ better integration with reproducible builds.
+
+ * contrib/hdtbl/examples/common.roff (random-s1): Remove process ID.
+
2018-03-09 Deri James <address@hidden>
PDF must not open in presentation mode.
diff --git a/contrib/hdtbl/examples/common.roff
b/contrib/hdtbl/examples/common.roff
index e112be8..7357918 100644
--- a/contrib/hdtbl/examples/common.roff
+++ b/contrib/hdtbl/examples/common.roff
@@ -234,7 +234,11 @@ along with this program. If not, see
<http://www.gnu.org/licenses/>.
.af mo 00
.af dy 00
.
-.ds random-s1 \n[minutes]\n[seconds]\n[$$]\n[hours]\"
+.\" 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
.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 01/02: Remove unnecessary randomness from example output,
Colin Watson <=