diff options
author | christos <christos@pkgsrc.org> | 1999-09-29 00:41:25 +0000 |
---|---|---|
committer | christos <christos@pkgsrc.org> | 1999-09-29 00:41:25 +0000 |
commit | 04ab32d0cb6bffef74ba81b29f78c9a8008fe977 (patch) | |
tree | ead9bc8b0515cf96935a1d65495a6e36fa936ed5 /net/icb/patches/patch-al | |
parent | 3a94a4cd4723411d1e2e57b708472728f7c7a83a (diff) | |
download | pkgsrc-04ab32d0cb6bffef74ba81b29f78c9a8008fe977.tar.gz |
make this work under linux:
- 1. we really need to kill the ancient copy of readline and tcl in here.
- 2. we don't use termios on 4.4BSD now, we should.
- 3. linux does not turn on ISIG, so signals are not handled
Diffstat (limited to 'net/icb/patches/patch-al')
-rw-r--r-- | net/icb/patches/patch-al | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/net/icb/patches/patch-al b/net/icb/patches/patch-al new file mode 100644 index 00000000000..7ebb270e8f5 --- /dev/null +++ b/net/icb/patches/patch-al @@ -0,0 +1,26 @@ +$NetBSD: patch-al,v 1.1 1999/09/29 00:41:26 christos Exp $ + +--- murgil/serverserve.c.orig Tue Sep 28 19:20:05 1999 ++++ murgil/serverserve.c Tue Sep 28 19:21:56 1999 +@@ -20,6 +20,9 @@ + int timeisup; + + sighandler gotalarm(); ++#ifndef __FDS_BITS ++# define __FDS_BITS(set) ((set)->fds_bits) ++#endif + + serverserve() + { +@@ -81,9 +84,9 @@ + + /* examine set of file descriptors */ + for (b = 0, y = 0; b <= (howmany(highestfd, 32) - 1); b++, y += 32) { +- if (!fdr.fds_bits[b]) ++ if (!__FDS_BITS(&fdr)[b]) + continue; +- bits = fdr.fds_bits[b]; ++ bits = __FDS_BITS(&fdr)[b]; + for (x = y; bits; x++, bits >>= 01) + if (bits & 01) + if (x == port_fd) { |