Package: gv
Version: 1:3.7.4-2+b1
Severity: minor
Tags: patch upstream
There's a typo in an error message in src/Ghostview.c:
"broken pope" instead of "broken pipe".
Patch attached.
The error message can be obtained with
$ ln -s /bin/false bin/gs
$ gv some_file.ps
Error: broken pope, errno 32
I haven't reported the bug upstream because these doesn't seem
to be any development any longer, even for bug fixes.
-- System Information:
Debian Release: bookworm/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500,
'stable-security'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1,
'experimental')
merged-usr: no
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.0.0-5-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE,
TAINT_UNSIGNED_MODULE
Locale: LANG=POSIX, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages gv depends on:
ii ghostscript-x 10.0.0~dfsg-8
ii libc6 2.36-6
ii libx11-6 2:1.8.1-2
ii libxinerama1 2:1.1.4-3
ii libxmu6 2:1.1.3-3
ii libxt6 1:1.2.1-1
ii xaw3dg 1.5+F-1
gv recommends no packages.
gv suggests no packages.
-- no debconf information
--
Vincent Lefèvre <[email protected]> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
Index: gv-3.7.4/src/Ghostview.c
===================================================================
--- gv-3.7.4.orig/src/Ghostview.c
+++ gv-3.7.4/src/Ghostview.c
@@ -543,7 +543,7 @@ Input(XtPointer client_data, int *source
#endif
if (broken_pipe) {
broken_pipe = False;
- InterpreterFailed(w,"broken pope"); /* Something
bad happened */
+ InterpreterFailed(w,"broken pipe"); /* Something
bad happened */
} else if (bytes_written == -1) {
if ((errno != EWOULDBLOCK) && (errno != EAGAIN)) {
InterpreterFailed(w,"write to pipe failed"); /*
Something bad happened */