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

alexcher at ghostscript.com alexcher at ghostscript.com
Tue Oct 31 13:30:03 PST 2006


Author: alexcher
Date: 2006-10-31 13:30:03 -0800 (Tue, 31 Oct 2006)
New Revision: 7143

Modified:
   trunk/gs/src/zfileio.c
Log:
Change the order of argument testing in readline operator to match CET 23-22.ps


Modified: trunk/gs/src/zfileio.c
===================================================================
--- trunk/gs/src/zfileio.c	2006-10-31 21:00:30 UTC (rev 7142)
+++ trunk/gs/src/zfileio.c	2006-10-31 21:30:03 UTC (rev 7143)
@@ -379,8 +379,8 @@
     int status;
     gs_string str;
 
+    check_write_type(*op, t_string);
     check_read_file(s, op - 1);
-    check_write_type(*op, t_string);
     str.data = op->value.bytes;
     str.size = r_size(op);
     status = zreadline_from(s, &str, NULL, &count, &in_eol);



More information about the gs-cvs mailing list