diff options
author | Robin Watts <Robin.Watts@artifex.com> | 2022-05-25 19:11:28 +0100 |
---|---|---|
committer | Robin Watts <Robin.Watts@artifex.com> | 2022-06-01 12:54:44 +0100 |
commit | 6e180ffd59a68b77d44e4ee46a3cbd5070cd450f (patch) | |
tree | 79d556911e2a76140c1d87b56bf22841e137e91d /devices/gdevtifs.c | |
parent | 289ce7e8f7cc7536d5ccf71454f0b913cea1458c (diff) | |
download | ghostpdl-6e180ffd59a68b77d44e4ee46a3cbd5070cd450f.tar.gz |
Update -DCLUSTER nobbling of copyright/version etc.
When regression testing different versions, we'd like the files
to be byte for byte comparable. This is broken by output files that
contain comment fields or tags that list the creator versions.
The cluster nobbles at least some of these by hackily rewriting
the gscdefs.h file at build time, but misses files that differ
because of the copyright message. Also, this hackery is hard to
reproduce when building our own versions to try and recreate
problems seen in the cluster.
Accordingly, add some #definery within base/gscdefs.h that
performs the same function dependent only on -DCLUSTER.
Also tweak some devices to ensure that they don't use
revision numbers/copyrights etc.
Diffstat (limited to 'devices/gdevtifs.c')
-rw-r--r-- | devices/gdevtifs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/devices/gdevtifs.c b/devices/gdevtifs.c index 0182344b6..dc5c9076e 100644 --- a/devices/gdevtifs.c +++ b/devices/gdevtifs.c @@ -355,6 +355,7 @@ int tiff_set_fields_for_printer(gx_device_printer *pdev, TIFFSetField(tif, TIFFTAG_XRESOLUTION, (float)xpi); TIFFSetField(tif, TIFFTAG_YRESOLUTION, (float)ypi); +#ifndef CLUSTER { char revs[32]; #define maxSoftware 40 @@ -372,6 +373,7 @@ int tiff_set_fields_for_printer(gx_device_printer *pdev, TIFFSetField(tif, TIFFTAG_SOFTWARE, softwareValue); } +#endif if (writedatetime) { struct tm tms; time_t t; |