summaryrefslogtreecommitdiff
path: root/gs/Resource/Init/gs_setpd.ps
diff options
context:
space:
mode:
Diffstat (limited to 'gs/Resource/Init/gs_setpd.ps')
-rw-r--r--gs/Resource/Init/gs_setpd.ps9
1 files changed, 4 insertions, 5 deletions
diff --git a/gs/Resource/Init/gs_setpd.ps b/gs/Resource/Init/gs_setpd.ps
index 70513bce7..41c0c4242 100644
--- a/gs/Resource/Init/gs_setpd.ps
+++ b/gs/Resource/Init/gs_setpd.ps
@@ -675,11 +675,10 @@ SETPDDEBUG { (Result of putting.) = pstack flush } if
% solution is to make sure the VM mode is global during
% startup (to satisfy gs_dps.ps) and local thereafter
% (to satisfy the WordPerfect bug).
- dup dup length 1 eq exch /.LockSafetyParamsGlobal known and {
- currentglobal exch true setglobal
- dup /.LockSafetyParamsGlobal get
- 1 index /.LockSafetyParamsGlobal undef
- 1 index /.LockSafetyParams 3 -1 roll put
+ dup /..StartupGlobal known
+ {
+ currentglobal exch true setglobal
+ dup /..StartupGlobal undef
} {
% ensure that we are always in local VM mode to avoid
% mismatches. This is because we always create child