The attached patch will add a test case for the event port implementation.
Trond
Index: test.sh
===
--- test.sh (revision 453)
+++ test.sh (working copy)
@@ -7,6 +7,7 @@
EVENT_NOSELECT=yes; export EVENT_NOSELECT
I have intalled libevent 1.3c and 1.3d on my machine, and I have some
questions about the naming used for libevent.
In my lib-directory I get the following:
lrwxrwxrwx 1 bin bin 22 Sep 24 21:09 libevent-1.3c.so.1 -
libevent-1.3c.so.1.0.3
-rwxr-xr-x 1 bin bin 160824 Sep 24 21:09
/bin/sh does not recognize == as a valid test operator, but /bin/bash
does...
--Trond
Index: autogen.sh
===
--- autogen.sh (revision 440)
+++ autogen.sh (working copy)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
This patch fix two problems with evport.c on Solaris:
1. The grow-function reallocates the ed_fds array, but ed_pending array
may contain pointers to the elements in the ed_fds array. These pointers
must be relocated to avoid using freed memory.
2. evport_dispatch does not handle a