core: fix usage of uv_cwd
authorSaúl Ibarra Corretgé <saghul@gmail.com>
Fri, 17 Oct 2014 07:31:59 +0000 (09:31 +0200)
committerTrevor Norris <trev.norris@gmail.com>
Thu, 6 Nov 2014 00:51:12 +0000 (16:51 -0800)
commite46cbaa06d6f69ae37c56d9ed1b854fbea779e30
tree4266ad3e0dba1dfb4aab2c8017e5ff1ecc9d85d6
parenta5f1307e45305cb7cf41e0e99cf1df74730cad6c
core: fix usage of uv_cwd

It was modified in libuv to be consistent with uv_exepath and not
include the trailing NULL byte in the returned size.

PR-URL: https://github.com/joyent/node/pull/8566
Reviewed-by: Fedor Indutny <fedor@indutny.com>
Reviewed-by: Trevor Norris <trev.norris@gmail.com>
src/node.cc