Tweaked callbacks to prevent race condition (https://github.com/libevent/libevent/issues/104)
Tweaked callbacks to prevent race condition (https://github.com/libevent/libevent/issues/104)
bufferevent_pair: don't call downcast(NULL)
Merge remote-tracking branch 'origin/patches-2.0'
Added -Qunused-arguments for clang on macosx

The CLang provided through Xcode on Mac OSX emits warnings for
all unused include paths making the compilation extremely verbose.
Add cmake-related files to .gitignore
Merge pull request #108 from trondn/cmake-build-fix

CMake build-related fixes
BUGFIX: Fix compilation on systems with EPOLLRDHUP undefined.

Since epolltable-internal.h uses this define, it must be defined before that is included.
Rename event_extras to event_extra

The library event_extras is named event_extra when building with
GNU autotools
Stop checking for inet_aton; we don't use it.

We had cmake and autoconf tests for the inet_aton function... but we
never actually use it any more.

(The autoconf tests still use the callability of inet_aton to decide
whether we need to link against -lresolv)

Reported by Harlan Stenn.
Merge pull request #97 from JoakimSoderberg/openwrt_fixes

BUGFIX: Fix compilation on systems with EPOLLRDHUP undefined.
Do not offer EV_FEATURE_EARLY_CLOSE if we have no EPOLLRDHUP
Add option to build shared library
Add -Qunused-arguments for clang on macos

The clang compiler provided with macosx emits warnings like:

  CC       bufferevent.lo
clang: warning: argument unused during compilation: '-I .'
clang: warning: argument unused during compilation: '-I ./compat'
clang: warning: argument unused during compilation: '-I ./include'
clang: warning: argument unused during compilation: '-I ./include'

for each file being compiled. This generates a lot of noise during
compilation making it hard to see "real" errors. This patch mute
those warnings.
Merge remote-tracking branch 'origin/patches-2.0'
Merge remote-tracking branch 'origin/pr/110'
Move assert(ev) to before we use ev in EV_CLOSURE_EVENT_FINALIZE case

Based on a patch from Harlan Stenn.
Fix 'make distcheck' by adding regress.gen.[ch] to DISTCLEANFILES

Patch from Harlan Stenn.
Update to the latest version of tinytest

This brings us up to tinytest 709a36ba63ff16d8
Export event_extra not event_extras.