aboutsummaryrefslogtreecommitdiff
path: root/docs/src
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2019-06-20 12:04:16 +0200
committerBen Noordhuis <info@bnoordhuis.nl>2019-06-20 12:04:16 +0200
commit6e18112127b33014d06f589de0923de910b6a43b (patch)
treec41c0df69bb28311cde148b45b25723fb3b16427 /docs/src
parent53f47721153bcf2ef6c508e770ecbad0191fce26 (diff)
downloadlibuv-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