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:
034813b
)
Also use internal __fds_bits instead of fds_bits
author
Peter Howkins
<flibble@users.sourceforge.net>
Sun, 11 Mar 2012 16:17:39 +0000
(16:17 +0000)
committer
Peter Howkins
<flibble@users.sourceforge.net>
Sun, 11 Mar 2012 16:17:39 +0000
(16:17 +0000)
cde/lib/csa/xtclient.c
patch
|
blob
|
history
diff --git
a/cde/lib/csa/xtclient.c
b/cde/lib/csa/xtclient.c
index 50f84f061c407635e0229af1055bd704fd98b091..b42b5efc017c16602fea37ed31310d618e7c5b85 100644
(file)
--- a/
cde/lib/csa/xtclient.c
+++ b/
cde/lib/csa/xtclient.c
@@
-69,7
+69,11
@@
_DtCm_register_xtcallback(XtAppContext appct)
return;
/* assuming only 1 bit is set */
+#if defined(linux)
+ bits = fdset.__fds_bits;
+#else
bits = fdset.fds_bits;
+#endif
for (i = 0; i < FD_SETSIZE; i += NFDBITS) {
fmask = *bits;
for (j = 0; fmask != 0; j++, fmask >>= 1) {