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:
d852a8b
)
dtpad: Fix 64-bit crash on file open/save
author
Marcin Cieslak
<saper@saper.info>
Mon, 24 Sep 2012 01:15:19 +0000
(
03:15
+0200)
committer
Jon Trulson
<jon@radscan.com>
Mon, 24 Sep 2012 01:45:22 +0000
(19:45 -0600)
Fix SIGSEGV because of implicit declaration
of _XmStringUngenerate.
The error message reported to the user was:
TT_ERR_PROCID The process id passed is not valid.
cde/programs/dtpad/fileCB.c
patch
|
blob
|
history
diff --git
a/cde/programs/dtpad/fileCB.c
b/cde/programs/dtpad/fileCB.c
index a5706d944213b7d6dc4c131c2f59ffced91067d2..189189b41fc609ef64de53de1442cb8268475eb6 100644
(file)
--- a/
cde/programs/dtpad/fileCB.c
+++ b/
cde/programs/dtpad/fileCB.c
@@
-59,6
+59,8
@@
#include <Dt/DtpadM.h>
#include <Dt/Action.h>
+#include <Xm/XmPrivate.h> /* _XmStringUngenerate */
+
#include "dtpad.h"
extern int numActivePads; /* declared in main.c */