master
for some time now mandoc has not required MLINKS to function correctly - logically complete that now by removing MLINKS from base;
spelling fixes; from paul tagliamonte ok nicm
Fix whitespace errors in libevent. OK nicm@
The mdoc(7) .Ft macro does not need quoting of its arguments, but about 10% of our manual pages using this macro employed useless quoting anyway. Remove these quotes such that they do not incite fear, uncertainty, and doubt in developers who happen to look at these pages. jmc@ and tb@ agree with the direction.
Remove #ifndef HAVE_TAILQFOREACH containing a private tailq implementation. OK nicm@
Switched min_heap to size_t to prevent integer overflows.
.Lb libevent in some WIP pages that are not yet installed
Remove the #ifdef HAVE_SIGACTION from libevent. The struct evsignal_info does not change, so no library crank. OK nicm@ deraadt@
When system calls indicate an error they return -1, not some arbitrary value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
Whoops, EVUTIL_SET_SOCKET_ERROR went missing.
In kq_del(), delete matching EV_ADD entries to prevent libevent from passing both EV_ADD and EV_DELETE for the same fd to kevent().
Libraries should not print to stderr, ok tedu beck deraadt
Update libevent to 1.4.13.
Remove NULL pointer checks before calls to free(). OK bluhm@ nicm@
add helper functions to use asr with libevent.
Apply commit e0e6958aa074a7714cd7c4aa779a1dfede3a03b1 from upstream. - Avoid deadlock when activating signals. Fixes bug 3048812. Based on patch by Nicholas Marriott. The deadlock was ultimately fixed in a different way (by disabling reinit - see event.c r1.25). Add it now for consistency but without the Windows compatibility code. Convert the fnctl() calls to SOCK_CLOEXEC | SOCK_NONBLOCK to simplify the code. OK nicm@