mirror of
https://github.com/libevent/libevent.git
synced 2025-01-09 00:56:20 +08:00
Nick Mathewson
904b5721cb
Avoid calling exit() during event_base_new*()
Previously, each of the three make-an-event-base functions would exit under different, weird circumstances, but return NULL on others. - All three would exit on OOM sometimes. - event_base_new() and event_init() would die if all backends were disabled. - None of them would die if the socketpair() call failed. Now, only event_init() exits on failure, and it exits on every kind of failure. event_base_new() and event_base_new_with_config() never do. svn:r1472
To build libevent, type $ ./configure && make (If you got libevent from the subversion repository, you will first need to run the included "autogen.sh" script in order to generate the configure script.) Install as root via # make install You can run the regression tests by $ make verify Before, reporting any problems, please run the regression tests. To enable the low-level tracing build the library as: CFLAGS=-DUSE_DEBUG ./configure [...] Acknowledgements: ----------------- The following people have helped with suggestions, ideas, code or fixing bugs: Alejo Weston Andros Adamson William Ahern Stas Bekman Andrew Danforth Mike Davis Shie Erlich Alexander von Gernler Artur Grabowski Aaron Hopkins Claudio Jeker Scott Lamb Adam Langley Philip Lewis David Libenzi Nick Mathewson Andrey Matveev Richard Nyberg Jon Oberheide Phil Oleson Dave Pacheco Tassilo von Parseval Pierre Phaneuf Jon Poland Bert JW Regeer Dug Song Taral If I have forgotten your name, please contact me.
Description
Languages
C
87%
Roff
3.8%
CMake
3.6%
M4
2.5%
Python
2.2%
Other
0.9%