projects
/
oweals
/
cde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5efbca7
)
dtpad: Coverity 174846
author
Peter Howkins
<flibble@users.sf.net>
Tue, 3 Jul 2018 17:07:10 +0000
(18:07 +0100)
committer
Peter Howkins
<flibble@users.sf.net>
Tue, 3 Jul 2018 17:07:10 +0000
(18:07 +0100)
cde/programs/dtpad/main.c
patch
|
blob
|
history
diff --git
a/cde/programs/dtpad/main.c
b/cde/programs/dtpad/main.c
index 83679c08e448046a5d84f137ee028840d28ad801..fa8dc64f6fde1cd19441eebd440fab8e20be8d02 100644
(file)
--- a/
cde/programs/dtpad/main.c
+++ b/
cde/programs/dtpad/main.c
@@
-1876,4
+1876,8
@@
dtpadXIOErrorHandler(
fprintf(stderr, "X IO Error");
PanicSave();
+
+ /* Man page for XSetIOErrorhandler says this is a fatal error and
+ * should not return */
+ exit(EXIT_FAILURE);
}