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

ray at ghostscript.com ray at ghostscript.com
Wed Feb 21 07:02:42 PST 2007


Author: ray
Date: 2007-02-21 07:02:42 -0800 (Wed, 21 Feb 2007)
New Revision: 7728

Modified:
   trunk/gs/src/zfilter.c
Log:
Fix for language_switch build 'invalidrestore. Allow filter allocation in
systemVM as needed by .runstring and .runstringbegin in gs_init.ps. This 
fixes problem intoduced by rev 7629.

EXPECTED DIFFERENCES.

None. Note that CET 23-12W that was fixed with rev 7629 is OK with this
change since the 'use_space' is not limited by 'save_space'.


Modified: trunk/gs/src/zfilter.c
===================================================================
--- trunk/gs/src/zfilter.c	2007-02-21 14:43:50 UTC (rev 7727)
+++ trunk/gs/src/zfilter.c	2007-02-21 15:02:42 UTC (rev 7728)
@@ -182,7 +182,7 @@
     uint min_size = template->min_out_size + max_min_left;
     uint save_space = ialloc_space(idmemory);
     /* PLRM3 requires the following, *not* max(space, save_space). */
-    uint use_space = max(space, avm_global); /* don't alloc in system space */
+    uint use_space = max(space, avm_system); /* don't alloc in foreign space */
     os_ptr sop = op - npop;
     stream *s;
     stream *sstrm;
@@ -262,7 +262,7 @@
     uint min_size = template->min_in_size + max_min_left;
     uint save_space = ialloc_space(idmemory);
     /* PLRM3 requires the following, *not* max(space, save_space). */
-    uint use_space = max(space, avm_global); /* don't alloc in system space */
+    uint use_space = max(space, avm_system); /* don't alloc in foreign space */
     os_ptr sop = op - npop;
     stream *s;
     stream *sstrm;



More information about the gs-cvs mailing list