NaCl SDK] nacl_io: remove getcwd() implemenation (rely on glibc/newlib versions)
commit4fad785312ac90ea3dd6e34926f30adee442ff89
authorsbc <sbc@chromium.org>
Tue, 13 Jan 2015 21:33:28 +0000 (13 13:33 -0800)
committerCommit bot <commit-bot@chromium.org>
Tue, 13 Jan 2015 21:35:01 +0000 (13 21:35 +0000)
tree3096fd8acf088ba06aee224ee7eb2ce878996e67
parent523d40e3b328ed3d3d16a9c6fb3bd9a9d2691956
NaCl SDK] nacl_io: remove getcwd() implemenation (rely on glibc/newlib versions)

The newlib version of getcwd in libnacl now supports
passing NULL of buffer, and recent version of gtest
will gracefully handle getcwd failure in static
constructors so we no longer need our own getcwd
implementation.

This is the second attempt and landing this change.  The
first was reverted:
https://codereview.chromium.org/756333005

R=bradnelson

Review URL: https://codereview.chromium.org/851723004

Cr-Commit-Position: refs/heads/master@{#311329}
native_client_sdk/src/libraries/nacl_io/kernel_intercept.cc
native_client_sdk/src/libraries/nacl_io/library.dsc
native_client_sdk/src/libraries/nacl_io/syscalls/getcwd.c [deleted file]