[gs-commits] ghostpdl branch, master, updated. jbig2dec-0.14-1787-gf5673b5
[email protected] (Robin Watts) Thu, 31 Oct 2019 17:43:43 +0000 (UTC)
| Newsgroups | gmane.comp.printing.ghostscript.cvs |
|---|---|
| Message-ID | <[email protected]> |
The ghostpdl branch, master has been updated
via f5673b5a50f141440329c62ee5b53eefcd585a3f (commit)
from b5bc53eb7223f8999882a5d8e2e35c27fe7a0b57 (commit)
----------------------------------------------------------------------
commit f5673b5a50f141440329c62ee5b53eefcd585a3f
Author: Robin Watts <[email protected]>
Date: Thu Oct 31 17:42:48 2019 +0000
pdfimg: Avoid ID's varying by filename in CLUSTER builds.
This was upsetting the alldevs runs.
diff --git a/devices/gdevpdfimg.c b/devices/gdevpdfimg.c
index 0d85d4d..bbeefc8 100644
--- a/devices/gdevpdfimg.c
+++ b/devices/gdevpdfimg.c
@@ -654,7 +654,14 @@ pdf_compute_fileID(gx_device_pdf_image * pdev, byte fileID[16], char *CreationDa
gp_get_realtime(secs_ns);
#endif
sputs(s, (byte *)secs_ns, sizeof(secs_ns), &ignore);
+#ifdef CLUSTER
+ /* Don't have the ID's vary by filename output in the cluster testing.
+ * This prevents us comparing gs to gpdl results, and makes it harder
+ * to manually reproduce results. */
+ sputs(s, (const byte *)"ClusterTest.pdf", strlen("ClusterTest.pdf"), &ignore);
+#else
sputs(s, (const byte *)pdev->fname, strlen(pdev->fname), &ignore);
+#endif
stream_puts(s, "/ModDate ");
stream_puts(s, CreationDate);
Summary of changes:
devices/gdevpdfimg.c | 7 +++++++
1 file changed, 7 insertions(+)