Bug 703237

Summary: Inconsistent use of signalerror
Product: Ghostscript Reporter: Peter Cherepanov <sphinx.pinastri>
Component: PS InterpreterAssignee: Ray Johnston <ray.johnston>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P4    
Version: master   
Hardware: PC   
OS: Linux   
Customer: Word Size: ---
Attachments: Patch
New patch

Description Peter Cherepanov 2020-12-07 21:26:19 UTC
Created attachment 20330 [details]
Patch

The first operand of signalerror should be executable to appear without a leading slash in the error message. The execution status of the second operand is inconsequential. This patch brings all relevant calls to signalerror to the following pattern: /NAME cvx /ERROR signalerror

The patch also corrects one real bug, that would look up an undefined name.
          } {
-           /readorigxref cvx /rangecheckerror signalerror
+           /readorigxref cvx /rangecheck signalerror
          } ifelse
Comment 2 Ray Johnston 2021-05-04 17:34:27 UTC
Fixed in commit 00f554cfaf1f973edf0404a3a0bfe64a1c63f631

Thanks, Peter.