Thread View: gnu.ghostscript.bug
1 messages
1 total messages
Started by Shamim Zvonko Mohamed
Tue, 29 Sep 1992 17:19
Bug in resourceforall
Author: Shamim Zvonko Mohamed
Date: Tue, 29 Sep 1992 17:19
Date: Tue, 29 Sep 1992 17:19
33 lines
1833 bytes
1833 bytes
Using gs2.5.1 on a Sun Sparc, resourceforall seems to execute in a strange
manner. (I know the implementation of the operator is incomplete.)
Initializing... done.
Ghostscript 2.5.1 (9/11/92)
Copyright (C) 1990, 1992 Aladdin Enterprises, Menlo Park, CA.
All rights reserved.
Distributed by Free Software Foundation, Inc.
Ghostscript comes with NO WARRANTY: see the file LICENSE for details.
GS>(*) {print} 100 string /Font resourceforall
GS<2>pstack
[print]
(NullFont)
GS<2>
The bug seems to be in the operands expected on the stack. In gs_lev2.ps:
/ResourceForAll
{ % We construct a new procedure so we don't have to use
% static resources to hold the iteration state.
3 1 roll cvlit 3 1 roll cvlit 3 1 roll
{ % Stack contains: key, instance, template, proc, scratch
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Whereas the Red Book (2 Ed.) says:
template proc scratch category <resourceforall> --
-s
--
Shamim Mohamed / {uunet,noao,cmcl2..}!arizona!shamim / shamim@cs.arizona.edu
"Take this cross and garlic; here's a Mezuzah if he's Jewish; a page of the
Koran if he's a Muslim; and if he's a Zen Buddhist, you're on your own."
Member of the League for Programming Freedom - write to league@prep.ai.mit.edu
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads