19 lines
706 B
Diff
19 lines
706 B
Diff
|
diff -up ghostscript-8.61/lib/gs_init.ps.runlibfileifexists ghostscript-8.61/lib/gs_init.ps
|
||
|
--- ghostscript-8.61/lib/gs_init.ps.runlibfileifexists 2007-11-28 11:24:58.000000000 +0000
|
||
|
+++ ghostscript-8.61/lib/gs_init.ps 2007-11-28 12:03:08.000000000 +0000
|
||
|
@@ -671,6 +671,14 @@ systemdict /internaldict dup .makeintern
|
||
|
{ /undefinedfilename signalerror }
|
||
|
ifelse
|
||
|
} bind def
|
||
|
+/runlibfileifexists
|
||
|
+ { % We don't want to bind 'run' into this procedure,
|
||
|
+ % since run may get redefined.
|
||
|
+ findlibfile
|
||
|
+ { exch pop /run .systemvar exec }
|
||
|
+ { pop }
|
||
|
+ ifelse
|
||
|
+ } bind def
|
||
|
/selectdevice
|
||
|
{ finddevice setdevice .setdefaultscreen } bind def
|
||
|
/signalerror % <object> <errorname> signalerror -
|