diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2019-06-20 12:04:16 +0200 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2019-06-20 12:04:16 +0200 |
commit | 6e18112127b33014d06f589de0923de910b6a43b (patch) | |
tree | c41c0df69bb28311cde148b45b25723fb3b16427 /docs/src | |
parent | 53f47721153bcf2ef6c508e770ecbad0191fce26 (diff) | |
download | libuv-6e18112127b33014d06f589de0923de910b6a43b.tar.gz libuv-6e18112127b33014d06f589de0923de910b6a43b.zip |
unix: make uv_cwd() report UV_ENOBUFS
Make uv_cwd() do what the documentation says it did when the destination
buffer is too small: report UV_ENOBUFS and set the `size` in/out param
to the size of the path including the trailing nul byte.
Fixes: https://github.com/libuv/libuv/issues/2333
PR-URL: https://github.com/libuv/libuv/pull/2335
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
Diffstat (limited to 'docs/src')
0 files changed, 0 insertions, 0 deletions