Bug 693223

Summary: dumphint unused script ?
Product: Ghostscript Reporter: roucaries.bastien+gs
Component: GeneralAssignee: Chris Liddell (chrisl) <chris.liddell>
Status: RESOLVED FIXED    
Severity: normal CC: chris.liddell, jackie.rosen
Priority: P4    
Version: 9.05   
Hardware: PC   
OS: Linux   
Customer: Word Size: ---

Description roucaries.bastien+gs 2012-07-27 08:57:12 UTC
Dear ghostscript user,

I am trying to write a man page for dumphint. 

It seems that dumphint does not work or does not work as expected
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=310203

For instance 

dumphint some.pdf
Error: /undefinedfilename in (/usr/bin/dumphint.ps)
Operand stack:

Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push
Dictionary stack:
   --dict:1163/1684(ro)(G)--   --dict:0/20(G)--   --dict:78/200(L)--
Current allocation mode is local
Last OS error: 2
GPL Ghostscript 9.05: Unrecoverable error, exit code 1

Now we revert the two argument from the script:

gs -q -dNODISPLAY -dSAFER -dDELAYSAFER -- /home/bastien/mixer-gilbert.pdf "dumphint.ps"
bastien@bastien-debian:/tmp/ghostscript-9.05~dfsg$ echo $?

But it does not print anything.

Care to remove or to fix ?

Bastien
Comment 1 Chris Liddell (chrisl) 2012-07-27 10:26:09 UTC
dumphint is only for use on linearised PDF files, but even then, I get an error from it.

The script and PS utility file seem to be moribund, I suggest removal.
Comment 2 Marcos H. Woehrmann 2012-08-03 16:48:48 UTC
Removal seems appropriate to me.
Comment 3 Chris Liddell (chrisl) 2012-08-06 07:46:53 UTC
Scripts/utility removed in:

http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=327da990