Skip to content

Commit 739fda1

Browse files
bnoordhuisrvagg
authored andcommitted
deps: update libuv to 1.4.1
PR-URL: #940 Reviewed-By: Fedor Indutny <fedor@indutny.com> Reviewed-By: Rod Vagg <rod@vagg.org>
1 parent 06ee782 commit 739fda1

22 files changed

+313
-140
lines changed

deps/uv/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,6 @@ ipch
6767

6868
*.xcodeproj
6969
*.xcworkspace
70+
71+
# make dist output
72+
libuv-*.tar.*

deps/uv/.mailmap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Isaac Z. Schlueter <i@izs.me>
1414
Justin Venus <justin.venus@gmail.com> <justin.venus@orbitz.com>
1515
Keno Fischer <kenof@stanford.edu> <kfischer+github@college.harvard.edu>
1616
Keno Fischer <kenof@stanford.edu> <kfischer@college.harvard.edu>
17+
Leith Bade <leith@leithalweapon.geek.nz> <leith@mapbox.com>
1718
Leonard Hecker <leonard.hecker91@gmail.com> <leonard@hecker.io>
1819
Maciej Małecki <maciej.malecki@notimplemented.org> <me@mmalecki.com>
1920
Marc Schlaich <marc.schlaich@googlemail.com> <marc.schlaich@gmail.com>

deps/uv/AUTHORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,3 +180,4 @@ Alexey Melnichuk <mimir@newmail.ru>
180180
Johan Bergström <bugs@bergstroem.nu>
181181
Alex Mo <almosnow@gmail.com>
182182
Luis Martinez de Bartolome <lasote@gmail.com>
183+
Michael Penick <michael.penick@datastax.com>

deps/uv/ChangeLog

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
2015.02.25, Version 1.4.1 (Stable)
2+
3+
Changes since version 1.4.0:
4+
5+
* win: don't use inline keyword in thread.c (Ben Noordhuis)
6+
7+
* windows: fix setting dirent types on uv_fs_scandir_next (Saúl Ibarra
8+
Corretgé)
9+
10+
* unix,windows: make uv_thread_create() return errno (Ben Noordhuis)
11+
12+
* tty: fix build for SmartOS (Julien Gilli)
13+
14+
* unix: fix for uv_async data race (Michael Penick)
15+
16+
* unix, windows: map EHOSTDOWN errno (Ben Noordhuis)
17+
18+
* stream: use SO_OOBINLINE on OS X (Fedor Indutny)
19+
20+
121
2015.02.10, Version 1.4.0 (Stable), 19fb8a90648f3763240db004b77ab984264409be
222

323
Changes since version 1.3.0:

deps/uv/Makefile.am

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ test_run_tests_SOURCES = test/blackhole-server.c \
222222
test/test-tcp-read-stop.c \
223223
test/test-tcp-shutdown-after-write.c \
224224
test/test-tcp-unexpected-read.c \
225+
test/test-tcp-oob.c \
225226
test/test-tcp-write-to-half-open-connection.c \
226227
test/test-tcp-write-after-connect.c \
227228
test/test-tcp-writealot.c \

deps/uv/checksparse.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ test/test-tcp-open.c
145145
test/test-tcp-read-stop.c
146146
test/test-tcp-shutdown-after-write.c
147147
test/test-tcp-unexpected-read.c
148+
test/test-tcp-oob.c
148149
test/test-tcp-write-error.c
149150
test/test-tcp-write-to-half-open-connection.c
150151
test/test-tcp-writealot.c

deps/uv/configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1414

1515
AC_PREREQ(2.57)
16-
AC_INIT([libuv], [1.4.0], [https://github.com/libuv/libuv/issues])
16+
AC_INIT([libuv], [1.4.1], [https://github.com/libuv/libuv/issues])
1717
AC_CONFIG_MACRO_DIR([m4])
1818
m4_include([m4/libuv-extra-automake-flags.m4])
1919
m4_include([m4/as_case.m4])

deps/uv/docs/src/threading.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ Threads
5656
^^^^^^^
5757

5858
.. c:function:: int uv_thread_create(uv_thread_t* tid, uv_thread_cb entry, void* arg)
59+
60+
.. versionchanged:: 1.4.1 returns a UV_E* error code on failure
61+
5962
.. c:function:: uv_thread_t uv_thread_self(void)
6063
.. c:function:: int uv_thread_join(uv_thread_t *tid)
6164
.. c:function:: int uv_thread_equal(const uv_thread_t* t1, const uv_thread_t* t2)

deps/uv/include/uv-errno.h

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,4 +399,20 @@
399399
# define UV__EMLINK (-4032)
400400
#endif
401401

402+
/* EHOSTDOWN is not visible on BSD-like systems when _POSIX_C_SOURCE is
403+
* defined. Fortunately, its value is always 64 so it's possible albeit
404+
* icky to hard-code it.
405+
*/
406+
#if defined(EHOSTDOWN) && !defined(_WIN32)
407+
# define UV__EHOSTDOWN (-EHOSTDOWN)
408+
#elif defined(__APPLE__) || \
409+
defined(__DragonFly__) || \
410+
defined(__FreeBSD__) || \
411+
defined(__NetBSD__) || \
412+
defined(__OpenBSD__)
413+
# define UV__EHOSTDOWN (-64)
414+
#else
415+
# define UV__EHOSTDOWN (-4031)
416+
#endif
417+
402418
#endif /* UV_ERRNO_H_ */

deps/uv/include/uv-version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
#define UV_VERSION_MAJOR 1
3434
#define UV_VERSION_MINOR 4
35-
#define UV_VERSION_PATCH 0
35+
#define UV_VERSION_PATCH 1
3636
#define UV_VERSION_IS_RELEASE 1
3737
#define UV_VERSION_SUFFIX ""
3838

0 commit comments

Comments
 (0)