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:
1972d3e
)
dtpad: emit error on catopen() failure
author
Jon Trulson
<jon@radscan.com>
Mon, 14 Oct 2019 20:42:21 +0000
(14:42 -0600)
committer
Jon Trulson
<jon@radscan.com>
Mon, 14 Oct 2019 20:42:21 +0000
(14:42 -0600)
This patch was manually added via a diff supplied from a user on the
CDE mailing list: Michele Ghisolfo <ghisolfo.m@gmail.com>
cde/programs/dtpad/main.c
patch
|
blob
|
history
diff --git
a/cde/programs/dtpad/main.c
b/cde/programs/dtpad/main.c
index 8cf93e37952cd63a73ee1b391c96fdce1976a676..84b31aa5a17a5785174442d0aa6a20c6c558a9db 100644
(file)
--- a/
cde/programs/dtpad/main.c
+++ b/
cde/programs/dtpad/main.c
@@
-1714,6
+1714,9
@@
_DtpadGetMessage(
if ( first ) {
first = 0;
nlmsg_fd = catopen(_DTPAD_CAT_NAME, NL_CAT_LOCALE);
+
+ if (nlmsg_fd == -1)
+ perror("catopen");
}
#if defined(hpV4)
msg = _DtCatgetsCached(nlmsg_fd, set, number, string);