GeezerVison is showing github.com — deps: update libuv to version 1.6.1 · nodejs/node@a5bd466
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: deps/uv/ChangeLog +7Lines changed: 7 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +2015.06.06, Version 1.6.1 (Stable), 30c8be07bb78a66fdee5141626bf53a49a17094a |
| 2 | + |
| 3 | +Changes since version 1.6.0: |
| 4 | + |
| 5 | +* unix: handle invalid _SC_GETPW_R_SIZE_MAX values (cjihrig) |
| 6 | + |
| 7 | + |
1 | 8 | 2015.06.04, Version 1.6.0 (Stable), adfccad76456061dfcf79b8df8e7dbfee51791d7 |
2 | 9 |
|
3 | 10 | Changes since version 1.5.0: |
|
Collapse file
Copy file name to clipboardExpand all lines: deps/uv/configure.ac +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
13 | 13 | # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
14 | 14 |
|
15 | 15 | AC_PREREQ(2.57) |
16 | | -AC_INIT([libuv], [1.6.0], [https://github.com/libuv/libuv/issues]) |
| 16 | +AC_INIT([libuv], [1.6.1], [https://github.com/libuv/libuv/issues]) |
17 | 17 | AC_CONFIG_MACRO_DIR([m4]) |
18 | 18 | m4_include([m4/libuv-extra-automake-flags.m4]) |
19 | 19 | m4_include([m4/as_case.m4]) |
|
Collapse file
Copy file name to clipboardExpand all lines: deps/uv/include/uv-version.h +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
32 | 32 |
|
33 | 33 | #define UV_VERSION_MAJOR 1 |
34 | 34 | #define UV_VERSION_MINOR 6 |
35 | | -#define UV_VERSION_PATCH 0 |
| 35 | +#define UV_VERSION_PATCH 1 |
36 | 36 | #define UV_VERSION_IS_RELEASE 1 |
37 | 37 | #define UV_VERSION_SUFFIX "" |
38 | 38 |
|
|
Collapse file
Copy file name to clipboardExpand all lines: deps/uv/src/unix/core.c +6-3Lines changed: 6 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -1000,6 +1000,7 @@ int uv_os_homedir(char* buffer, size_t* size) { |
1000 | 1000 | uid_t uid; |
1001 | 1001 | size_t bufsize; |
1002 | 1002 | size_t len; |
| 1003 | + long initsize; |
1003 | 1004 | int r; |
1004 | 1005 |
|
1005 | 1006 | if (buffer == NULL || size == NULL || *size == 0) |
@@ -1023,10 +1024,12 @@ int uv_os_homedir(char* buffer, size_t* size) { |
1023 | 1024 | } |
1024 | 1025 |
|
1025 | 1026 | /* HOME is not set, so call getpwuid() */ |
1026 | | - bufsize = sysconf(_SC_GETPW_R_SIZE_MAX); |
| 1027 | + initsize = sysconf(_SC_GETPW_R_SIZE_MAX); |
1027 | 1028 |
|
1028 | | - if (bufsize <= 0) |
1029 | | - return -EIO; |
| 1029 | + if (initsize <= 0) |
| 1030 | + bufsize = 4096; |
| 1031 | + else |
| 1032 | + bufsize = (size_t) initsize; |
1030 | 1033 |
|
1031 | 1034 | uid = getuid(); |
1032 | 1035 | buf = NULL; |
|