[gs-cvs] rev 8099 - trunk/gs/src

ray at ghostscript.com ray at ghostscript.com
Wed Jul 4 10:30:44 PDT 2007


Author: ray
Date: 2007-07-04 10:30:44 -0700 (Wed, 04 Jul 2007)
New Revision: 8099

Modified:
   trunk/gs/src/gsjconf.h
Log:
Fix a typo in the jpeg config that resulted in MAX_ALLOC_CHUNK being
too small (0xfff0). Bug 689321.

DETAILS:

While ARCH_SIZEOF_INT was set to '4', it is done in std.h, not arch.h.
Changing to use ARCH_LOG2_SIZEOF_INT instead since this is defined.

EXPECTED DIFFERENCES:

None.


Modified: trunk/gs/src/gsjconf.h
===================================================================
--- trunk/gs/src/gsjconf.h	2007-07-04 14:11:22 UTC (rev 8098)
+++ trunk/gs/src/gsjconf.h	2007-07-04 17:30:44 UTC (rev 8099)
@@ -52,7 +52,7 @@
 #undef INCOMPLETE_TYPES_BROKEN
 
 /* The following is documented in jmemsys.h, not jconfig.doc. */
-#if ARCH_SIZEOF_INT <= 2
+#if ARCH_LOG2_SIZEOF_INT <= 1
 #  undef MAX_ALLOC_CHUNK
 #  define MAX_ALLOC_CHUNK 0xfff0
 #endif



More information about the gs-cvs mailing list