On Fri, Sep 26, 2008 at 03:03:34PM +0200, Malek Hadj-Ali wrote:
> Hi all,
> 
> 
> It seems there's a small bug in libevent-trunk (1.5?, 2.0?) when
> passing a 'wrong' event_config to event_base_new_with_config.
> By 'wrong' I mean a configuration that doesn't make sense, like
> avoiding epoll and requiring edge-triggered behavior on linux.
> 
> 
> I triggered it with the following sequence (pseudo-code):
> 
> config = event_config_new();
> event_config_avoid_method(config, "epoll");
> event_config_require_features(config, EV_FEATURE_ET);
> base = event_base_new_with_config(config); --> Segmentation fault
> 
> 
> The following one liner seems to fix it (tested on linux only):
> 

Thanks!  I've checked it in. 

-- 
Nick
_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://monkeymail.org/mailman/listinfo/libevent-users

Reply via email to