blob: 4bdcc4dc02e197417bbf11fbbc4607a3ec1bae79 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
$NetBSD: patch-bug-workaround,v 1.1 2005/12/09 20:30:16 wiz Exp $
I haven't found out the cause of the trouble of
Unrecoverable error: invalidaccess in put
... and this is only a workaround.
Please fix the problem and remove this patch.
--- lib/gs_dps.ps.bak Thu Mar 9 17:40:39 2000
+++ lib/gs_dps.ps Tue Mar 28 12:13:16 2000
@@ -53,7 +53,10 @@
} {
dup type /dicttype eq {
% Save a copy of this dictionary in global VM.
- dup maxlength dict .copydict readonly
+ dup maxlength dict
+ % same as .copydict, but uses .forceput
+ dup 3 -1 roll { .forceput dup } forall pop
+ readonly
} {
pop pop
} ifelse
|