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

alexcher at ghostscript.com alexcher at ghostscript.com
Tue Oct 31 17:05:02 PST 2006


Author: alexcher
Date: 2006-10-31 17:05:01 -0800 (Tue, 31 Oct 2006)
New Revision: 7146

Modified:
   trunk/gs/src/zfileio.c
Log:
Change order of operand checking in setfileposition to match CET 23-28.ps


Modified: trunk/gs/src/zfileio.c
===================================================================
--- trunk/gs/src/zfileio.c	2006-11-01 00:44:39 UTC (rev 7145)
+++ trunk/gs/src/zfileio.c	2006-11-01 01:05:01 UTC (rev 7146)
@@ -627,8 +627,8 @@
     os_ptr op = osp;
     stream *s;
 
+    check_type(*op, t_integer);
     check_file(s, op - 1);
-    check_type(*op, t_integer);
     if (sseek(s, op->value.intval) < 0)
 	return_error(e_ioerror);
     pop(2);



More information about the gs-cvs mailing list