On Fri, Nov 09, 2007 at 12:47:03AM +0100, Chris Brody-GMail <[EMAIL PROTECTED]> 
wrote:
> First, when I built on OSX, u_char was not defined in event.c. I fixed
> this problem by #include <sys/types.h> before "ev.h" & "event.h".

Hmm, u_char is not used by anything in libev itself, but it is defined in
event_compat.h, which should get included.

Oh right, it only defines it on win32 and assumes its there on all other
systems.

I think I will include a typedef for it unconditionally in event_compat.h.

Thanks for pointing this out!

(googling around, this seems to be an already-known bug in libevent-1.3e,
so I guess I wait till a new release comes out with a fix for this).

> > Its there now (I updated the tarball), the libev equivalent is
> > ev_feed_event. I don't really feel well about exposing it, though, without
> > actually having a use case that isn't served better by simply calling the
> > callback immediatelly.
> Small problem with MULTIPLICITY-apparently forgot dLOOPev & some EV_A_ defs.

Oh indeed, sorry. I replaced the tarball after adding the new functions
without testing them with mulcitplicity defined.

Its been updated by now (including a temporary include <sys/types.h> in
event_compat.h, whivch shouldn't hurt, although sys/types.h is not really
required to support u_char in the first place, afaicr).

> Given the patch below, I was able to build and run the regression

Sorry for having you go through the code and add this. The patch is just
perfect :)

> tests on OSX. In addition, all test from eventxx were working except
> for bench.cpp, which uses a strange copy constructor,
   
Do you have a pointer to the source?

> and priority test.

thats expected indeed.

Thanks a lot for testing!

The tarball at http://data.plan9.de/libev-1.3e.tar.gz has been updated with
everything that came up so far.

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      [EMAIL PROTECTED]
      -=====/_/_//_/\_,_/ /_/\_\
_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://monkeymail.org/mailman/listinfo/libevent-users

Reply via email to