<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in util.h</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>f602211f - Parse IPv6 scope IDs.</title>
        <link>http://172.16.0.5:8080/history/libevent-2.1.12/include/event2/util.h#f602211f</link>
        <description>Parse IPv6 scope IDs.(cherry picked from commit 9fecb59a94ef246088d7f3e0365c2fe80d0df2f4)

            List of files:
            /libevent-2.1.12/include/event2/util.h</description>
        <pubDate>Tue, 29 Oct 2019 14:48:53 +0000</pubDate>
        <dc:creator>Philip Homburg &lt;phomburg@ripe.net&gt;</dc:creator>
    </item>
<item>
        <title>00ba9fa2 - Define `_GNU_SOURCE` properly/consistently per autoconf</title>
        <link>http://172.16.0.5:8080/history/libevent-2.1.12/include/event2/util.h#00ba9fa2</link>
        <description>Define `_GNU_SOURCE` properly/consistently per autoconfAlthough `_GNU_SOURCE` can be defined as an arbitrary #define per theglibc docs [1], it&apos;s best to define it in a manner consistent with the waythat autoconf defines it, i.e., `1`.While this shouldn&apos;t matter in most cases, it does when the headers fromother projects follow the poorly defined GNU convention implemented byautoconf and are included after the libevent&apos;s util.h header. An examplefailure with clang, similar to the failure I encountered, is as follows:```$ printf &quot;#define _GNU_SOURCE\n#define _GNU_SOURCE 1&quot; | clang -c -x c -&lt;stdin&gt;:2:9: warning: &apos;_GNU_SOURCE&apos; macro redefined [-Wmacro-redefined]        ^&lt;stdin&gt;:1:9: note: previous definition is here        ^1 warning generated.```This happened when compiling python [2] with a stale homebrew util.h file fromlibevent (which admittedly would not happen in a correct libevent install, as theheader should be installed under /usr/local/include/event2/util.h). However, ifboth headers had been combined (which is more likely), it would have failed asshown above.Removing the ad hoc definition unbreaks compiling python&apos;s pyconfig.h.in headerwhen included after util.h from libevent.1. http://www.gnu.org/software/libc/manual/html_node/Feature-Test-Macros.html2. https://github.com/python/cpython/blob/master/configure.ac#L126Closes: #773 (cherry-picked)Signed-off-by: Enji Cooper &lt;yaneurabeya@gmail.com&gt;(cherry picked from commit 5f87be42f0ae0126938624a1419a572607078217)

            List of files:
            /libevent-2.1.12/include/event2/util.h</description>
        <pubDate>Mon, 25 Feb 2019 19:59:15 +0000</pubDate>
        <dc:creator>Enji Cooper &lt;yaneurabeya@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>e66078a0 - Eliminate fd conversion warnings and introduce EVUTIL_INVALID_SOCKET (windows)</title>
        <link>http://172.16.0.5:8080/history/libevent-2.1.12/include/event2/util.h#e66078a0</link>
        <description>Eliminate fd conversion warnings and introduce EVUTIL_INVALID_SOCKET (windows)windows has intptr_t instead of regular int.Also tt_fd_op() had been introduced, since we cannot use tt_int_op() forcomparing fd, since it is not always int.(cherry picked from commit b29207dceee33832bb28ab103a833df6a2fd29d3)

            List of files:
            /libevent-2.1.12/include/event2/util.h</description>
        <pubDate>Tue, 29 Jan 2019 18:12:33 +0000</pubDate>
        <dc:creator>Azat Khuzhin &lt;azat@libevent.org&gt;</dc:creator>
    </item>
<item>
        <title>1c865238 - Check existence of IPV6_V6ONLY in evutil_make_listen_socket_ipv6only() (mingw32)</title>
        <link>http://172.16.0.5:8080/history/libevent-2.1.12/include/event2/util.h#1c865238</link>
        <description>Check existence of IPV6_V6ONLY in evutil_make_listen_socket_ipv6only() (mingw32)MinGW 32-bit 5.3.0 does not defines it and our appveyour [1] buildreports this instantly:    evutil.c: In function &apos;evutil_make_listen_socket_ipv6only&apos;:    evutil.c:392:40: error: &apos;IPV6_V6ONLY&apos; undeclared (first use in this function)      return setsockopt(sock, IPPROTO_IPV6, IPV6_V6ONLY, (void*) &amp;one,  [1]: https://www.appveyor.com/docs/windows-images-software/#mingw-msys-cygwinAnother solution will be to use mingw64 which has it, but I guess we dowant that #ifdef anyway.(cherry picked from commit 23e79fd764b9f36f560d470f0fb60295dd942ac2)

            List of files:
            /libevent-2.1.12/include/event2/util.h</description>
        <pubDate>Sun, 28 Oct 2018 15:11:22 +0000</pubDate>
        <dc:creator>Azat Khuzhin &lt;a3at.mail@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>ba148796 - listener: ipv6only socket bind support</title>
        <link>http://172.16.0.5:8080/history/libevent-2.1.12/include/event2/util.h#ba148796</link>
        <description>listener: ipv6only socket bind supportAccording to RFC3493 and most Linux distributions, default value is towork in IPv4-mapped mode. If there is a requirement to bind same porton same ip addresses but different handlers for both IPv4 and IPv6,it is required to set IPV6_V6ONLY socket option to be sure that thecode works as expected without affected by bindv6only sysctl settingin system.See an example working with this patch:https://gist.github.com/demirten/023008a63cd966e48b0ebcf9af7fc113Closes: #640 (cherry-pick)(cherry picked from commit 387d91f9ab95df8ac3d7bb58493310ad4a377dcf)

            List of files:
            /libevent-2.1.12/include/event2/util.h</description>
        <pubDate>Mon, 04 Jun 2018 13:43:34 +0000</pubDate>
        <dc:creator>Murat Demirten &lt;mdemirten@yh.com.tr&gt;</dc:creator>
    </item>
<item>
        <title>25150a62 - always define EV_INT16_MIN</title>
        <link>http://172.16.0.5:8080/history/libevent-2.1.12/include/event2/util.h#25150a62</link>
        <description>always define EV_INT16_MINsomehow missing from 043ae7481f4a73b0f48055a0260afa454f02d136(cherry picked from commit 5698cff73dac815dab937fd0262dd1f910ad1c3c)

            List of files:
            /libevent-2.1.12/include/event2/util.h</description>
        <pubDate>Thu, 17 Aug 2017 08:37:01 +0000</pubDate>
        <dc:creator>Carlo Marcelo Arenas Bel&#243;n &lt;carenas@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>303d6d77 - Fix arc4random_addrandom() detecting and fallback (regression)</title>
        <link>http://172.16.0.5:8080/history/libevent-2.1.12/include/event2/util.h#303d6d77</link>
        <description>Fix arc4random_addrandom() detecting and fallback (regression)But this is kind of hot-fix, we definitelly need more sane arc4randomcompat layer.Fixes: #488Introduced-in: 6541168 (&quot;Detect arch4random_addrandom() existence&quot;)(cherry picked from commit 266f43af7798befa3d27bfabaa9ae699259c3924)

            List of files:
            /libevent-2.1.12/include/event2/util.h</description>
        <pubDate>Mon, 27 Mar 2017 12:50:23 +0000</pubDate>
        <dc:creator>Azat Khuzhin &lt;a3at.mail@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>a0bfe2c4 - Merge branch &apos;cmake-configure-fixes-v2&apos;</title>
        <link>http://172.16.0.5:8080/history/libevent-2.1.12/include/event2/util.h#a0bfe2c4</link>
        <description>Merge branch &apos;cmake-configure-fixes-v2&apos;Fixes in cmake, to make it more like configure and support somecross-compiling.* cmake-configure-fixes-v2:  cmake: fix extracting of the version from git (check for number of matches)  Detect arch4random_addrandom() existence  Use off_t instead of ev_off_t for sendfile() (fixes android build)  cmake: detect _GNU_SOURCE not by __GNU_LIBRARY__ only (fallback to _GNU_SOURCE)  Check for WNOWAIT in waitpid() in runtime (not in cmake/configure)  cmake: add &lt;pthread.h&gt; into CMAKE_REQUIRED_INCLUDES for sizeof(pthread_t)  cmake: fix values for #cmakedefine  cmake: drop duplicates from event-config template  cmake: add value for the #cmakedefine macros (like autoconf)  cmake: Fix checking of enum values from sysctl.h(cherry picked from commit 5aade2d30b6c5eff226cbf7b63fda5a01987ba4f)

            List of files:
            /libevent-2.1.12/include/event2/util.h</description>
        <pubDate>Wed, 08 Mar 2017 14:58:26 +0000</pubDate>
        <dc:creator>Azat Khuzhin &lt;a3at.mail@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>4545807d - Fix UB in evutil_date_rfc1123()</title>
        <link>http://172.16.0.5:8080/history/libevent-2.1.12/include/event2/util.h#4545807d</link>
        <description>Fix UB in evutil_date_rfc1123()As pointed in https://github.com/libevent/libevent/pull/417#issuecomment-267860738  &quot;code is unsafe because in evutil_date_rfc1123() the pointer to the  automatic variable struct tm cur is used outside the scope it defined.&quot;Checked with `clang -fsanitize=address -fsanitize-address-use-after-scope`and test that call evutil_date_rfc1123() with tm==NULL

            List of files:
            /libevent-2.1.12/include/event2/util.h</description>
        <pubDate>Mon, 19 Dec 2016 07:22:51 +0000</pubDate>
        <dc:creator>Azat Khuzhin &lt;a3at.mail@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>db60ade8 - http: do not use local settings for Date header</title>
        <link>http://172.16.0.5:8080/history/libevent-2.1.12/include/event2/util.h#db60ade8</link>
        <description>http: do not use local settings for Date header

            List of files:
            /libevent-2.1.12/include/event2/util.h</description>
        <pubDate>Thu, 10 Nov 2016 12:58:15 +0000</pubDate>
        <dc:creator>Vis Virial &lt;visvrial@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>30316177 - [#372] check for errno.h</title>
        <link>http://172.16.0.5:8080/history/libevent-2.1.12/include/event2/util.h#30316177</link>
        <description>[#372] check for errno.h

            List of files:
            /libevent-2.1.12/include/event2/util.h</description>
        <pubDate>Tue, 28 Jun 2016 17:37:24 +0000</pubDate>
        <dc:creator>Mark Ellzey &lt;ellzey@strcpy.net&gt;</dc:creator>
    </item>
<item>
        <title>a264da86 - Revert &quot;The Windows socket type is defined as SOCKET.&quot;</title>
        <link>http://172.16.0.5:8080/history/libevent-2.1.12/include/event2/util.h#a264da86</link>
        <description>Revert &quot;The Windows socket type is defined as SOCKET.&quot;

            List of files:
            /libevent-2.1.12/include/event2/util.h</description>
        <pubDate>Sun, 20 Dec 2015 08:57:50 +0000</pubDate>
        <dc:creator>Mark Ellzey &lt;socket@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>c9e6c3d7 - The Windows socket type is defined as SOCKET.</title>
        <link>http://172.16.0.5:8080/history/libevent-2.1.12/include/event2/util.h#c9e6c3d7</link>
        <description>The Windows socket type is defined as SOCKET.Under the hood it&apos;s an unsigned rather than a signed type and whilst Ccompilers are largely happy with this C++ compilers tend to be fussyabout class function signatures which makes C++ usage of libeventproblematic.

            List of files:
            /libevent-2.1.12/include/event2/util.h</description>
        <pubDate>Wed, 16 Dec 2015 01:17:36 +0000</pubDate>
        <dc:creator>billsegall &lt;bill@segall.net&gt;</dc:creator>
    </item>
<item>
        <title>043ae748 - Fix garbage value in socketpair util function, stdint?</title>
        <link>http://172.16.0.5:8080/history/libevent-2.1.12/include/event2/util.h#043ae748</link>
        <description>Fix garbage value in socketpair util function, stdint?* Fixed an issue with evutil_ersatz_socketpair_, listen_addr could all  be compared against with agarbage values. So just memset it before  using it anywhere.* Nick might punch me in the face, but if we have stdint.h; (as in  EVENT__HAVE_STDINT_H is defined), might as well use those instead of  the manual [U]INT[X}_MAX/MIN muck in there now.

            List of files:
            /libevent-2.1.12/include/event2/util.h</description>
        <pubDate>Mon, 11 May 2015 16:06:01 +0000</pubDate>
        <dc:creator>Mark Ellzey &lt;socket@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>f2645f80 - Implement new/free for struct evutil_monotonic_timer and export monotonic time functions</title>
        <link>http://172.16.0.5:8080/history/libevent-2.1.12/include/event2/util.h#f2645f80</link>
        <description>Implement new/free for struct evutil_monotonic_timer and export monotonic time functions

            List of files:
            /libevent-2.1.12/include/event2/util.h</description>
        <pubDate>Wed, 19 Nov 2014 12:18:05 +0000</pubDate>
        <dc:creator>Andrea Shepard &lt;andrea@persephoneslair.org&gt;</dc:creator>
    </item>
<item>
        <title>b625361a - Provide support for SO_REUSEPORT through LEV_OPT_REUSABLE_PORT</title>
        <link>http://172.16.0.5:8080/history/libevent-2.1.12/include/event2/util.h#b625361a</link>
        <description>Provide support for SO_REUSEPORT through LEV_OPT_REUSABLE_PORT

            List of files:
            /libevent-2.1.12/include/event2/util.h</description>
        <pubDate>Mon, 13 Oct 2014 15:28:14 +0000</pubDate>
        <dc:creator>Maciej Soltysiak &lt;maciej@soltysiak.com&gt;</dc:creator>
    </item>
<item>
        <title>4545fa9b - Add option to build shared library</title>
        <link>http://172.16.0.5:8080/history/libevent-2.1.12/include/event2/util.h#4545fa9b</link>
        <description>Add option to build shared library

            List of files:
            /libevent-2.1.12/include/event2/util.h</description>
        <pubDate>Wed, 19 Feb 2014 05:31:27 +0000</pubDate>
        <dc:creator>Trond Norbye &lt;trond.norbye@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>d44f91ad - Finish a sentence</title>
        <link>http://172.16.0.5:8080/history/libevent-2.1.12/include/event2/util.h#d44f91ad</link>
        <description>Finish a sentence

            List of files:
            /libevent-2.1.12/include/event2/util.h</description>
        <pubDate>Tue, 13 Aug 2013 14:59:20 +0000</pubDate>
        <dc:creator>Nick Mathewson &lt;nickm@torproject.org&gt;</dc:creator>
    </item>
<item>
        <title>2bbb5d76 - Add evutil_secure_rng_set_urandom_device_file</title>
        <link>http://172.16.0.5:8080/history/libevent-2.1.12/include/event2/util.h#2bbb5d76</link>
        <description>Add evutil_secure_rng_set_urandom_device_fileThis experimental function is needed for some seccomp2 hackery towork, and should have no effect for systems that don&apos;t use it.

            List of files:
            /libevent-2.1.12/include/event2/util.h</description>
        <pubDate>Tue, 06 Aug 2013 21:06:23 +0000</pubDate>
        <dc:creator>Nick Mathewson &lt;nickm@torproject.org&gt;</dc:creator>
    </item>
<item>
        <title>6e496961 - Document that arc4random is not a great cryptographic PRNG.</title>
        <link>http://172.16.0.5:8080/history/libevent-2.1.12/include/event2/util.h#6e496961</link>
        <description>Document that arc4random is not a great cryptographic PRNG.

            List of files:
            /libevent-2.1.12/include/event2/util.h</description>
        <pubDate>Mon, 10 Jun 2013 14:38:12 +0000</pubDate>
        <dc:creator>Nick Mathewson &lt;nickm@torproject.org&gt;</dc:creator>
    </item>
</channel>
</rss>
