freebsd-ports/devel/libevent/files/patch-evutil.c
Martin Matuska fe9a7e6f3a Import changes from upstream git repository.
Includes fixes for the following Bug IDs:
#3028594 - evutil.c fcntl() uses long for F_SETFL
#3048812 - Signal socketpair blocking
#3107877 - evdns can issue duplicate tx ids
2011-02-22 08:57:43 +00:00

11 lines
273 B
C

--- evutil.c.orig 2011-02-22 09:39:26.529403997 +0100
+++ evutil.c 2011-02-22 09:41:40.352952848 +0100
@@ -169,7 +169,7 @@
}
#else
{
- long flags;
+ int flags;
if ((flags = fcntl(fd, F_GETFL, NULL)) < 0) {
event_warn("fcntl(%d, F_GETFL)", fd);
return -1;