[gs-cvs] gs/src

L. Peter Deutsch lpd at casper.ghostscript.com
Sat Jun 15 09:58:54 PDT 2002


Update of /cvs/ghostscript/gs/src
In directory casper:/tmp/cvs-serv4215/src

Modified Files:
	gdevpdfo.c 
Log Message:

Improves the comment for cos_dict_unadd.


Index: gdevpdfo.c
===================================================================
RCS file: /cvs/ghostscript/gs/src/gdevpdfo.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- gdevpdfo.c	13 Jun 2002 20:40:30 -0000	1.15
+++ gdevpdfo.c	15 Jun 2002 16:58:51 -0000	1.16
@@ -582,8 +582,9 @@
 }
 
 /*
- * Remove and return the last element of an array.  Note that this gives an
- * error unless the array is fully populated (no gaps in indexes).
+ * Remove and return the last element of an array.  Since this is intended
+ * specifically for arrays used as stacks, it gives an error if there is a
+ * gap in indices between the last element and the element before it.
  */
 int
 cos_array_unadd(cos_array_t *pca, cos_value_t *pvalue)




More information about the gs-cvs mailing list