From 00a7a0e4781bd903551f506e4b18309c0f6a71a7 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Sun, 17 Jul 2011 21:48:38 -0400 Subject: [PATCH 1/3] Fix a warning in evutil_rand when building with threads disabled --- evutil_rand.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/evutil_rand.c b/evutil_rand.c index 82ea115e..27b505d6 100644 --- a/evutil_rand.c +++ b/evutil_rand.c @@ -89,7 +89,9 @@ arc4random_buf(void *buf, size_t n) #define ARC4RANDOM_EXPORT static #define _ARC4_LOCK() EVLOCK_LOCK(arc4rand_lock, 0) #define _ARC4_UNLOCK() EVLOCK_UNLOCK(arc4rand_lock, 0) +#ifndef _EVENT_DISABLE_THREAD_SUPPORT static void *arc4rand_lock; +#endif #define ARC4RANDOM_UINT32 ev_uint32_t #define ARC4RANDOM_NOSTIR From b3b425eb1077bf293c19fa1bfdf681f44eee5405 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Mon, 18 Jul 2011 12:45:50 -0400 Subject: [PATCH 2/3] Give Makefile.am echo a non-null argument. msys likes this --- test/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Makefile.am b/test/Makefile.am index 0374d81e..66e01ea3 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -76,7 +76,7 @@ regress.gen.c regress.gen.h: regress.rpc $(top_srcdir)/event_rpcgen.py echo "HI"; \ else \ echo "No Python installed; can't test RPC."; \ - echo ""> regress.gen.c; \ + echo " "> regress.gen.c; \ echo "#define NO_PYTHON_EXISTS" > regress.gen.h; \ fi From 62b8ce587716d0ca7739a6f7d050b6b39ef9bcc5 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Mon, 18 Jul 2011 17:05:20 -0400 Subject: [PATCH 3/3] acks and changelog for 2.0.13-stable --- ChangeLog | 29 ++++++++++++++++++++++++++++- README | 2 ++ 2 files changed, 30 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 87f8db95..dea8ccda 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,32 @@ -Changes in version 2.0.13-stable (?? Jul 2011) +Changes in version 2.0.13-stable (18 Jul 2011) +BUGFIXES + o Avoid race-condition when initializing global locks (b683cae) + o Fix bug in SSL bufferevents backed by a bev with a write high-watermarks (e050703 Joachim Bauch) + o Speed up invoke_callbacks on evbuffers when there are no callbacks (f87f568 Mark Ellzey) + o Avoid a segfault when all methods are disabled or broken (27ce38b) + o Fix incorrect results from evbuffer_search_eol(EOL_LF) (4461f1a) + o Add some missing checks for mm_calloc failures (89d5e09) + o Replace an assertion for event_base_free(NULL) with a check-and-warn (09fe97d) + o Report kqueue ebadf, epipe, and eperm as EV_READ events (1fd34ab) + o Check if the `evhttp_new_object' function in `http.c' returns NULL. (446cc7a Mansour Moufid) + o Use the correct printf args when formatting size_t (3203f88) + o Complain if the caller tries to change threading cbs after setting them (cb6ecee) +DOCUMENTATION FIXES AND IMPROVEMENTS + o Revise the event/evbuffer/bufferevent doxygen for clarity and accuracy (2888fac) + o Update Doxyfile to produce more useful output (aea0555) + +TEST FIXES + o Fix up test_evutil_snprintf (caf695a) + o Fix tinytest invocation from windows shell (57def34 Ed Day) + +BUILD FIXES + o Use AM_CPPFLAGS in sample/Makefile.am, not AM_CFLAGS (4a5c82d) + o Fix select.c compilation on systems with no NFDBITS (49d1136) + o Fix a few warnings on OpenBSD (8ee9f9c Nicholas Marriott) + o Don't break when building tests from git without python installed (b031adf) + o Don't install event_rpcgen.py when --disable-libevent-install is used (e23cda3 Harlan Stenn) + o Fix AIX build issue with TAILQ_FOREACH definition (e934096) Changes in version 2.0.12-stable (4 Jun 2011) diff --git a/README b/README index bed2121a..1ca99906 100644 --- a/README +++ b/README @@ -85,9 +85,11 @@ fixing bugs: Tomash Brechko Kelly Brock Ralph Castain + Lawnstein Chan Shuo Chen Ka-Hing Cheung Andrew Danforth + Ed Day Christopher Davis Mike Davis Mihai Draghicioiu