mescc: getcwd: Support getcwd (0, 0) GNU extension.
authorJan Nieuwenhuizen <janneke@gnu.org>
Fri, 7 Dec 2018 19:18:01 +0000 (20:18 +0100)
committerJan Nieuwenhuizen <janneke@gnu.org>
Fri, 7 Dec 2018 19:18:01 +0000 (20:18 +0100)
commit5f14a46422228124b85345ee25cb8b83e377a844
tree80b6c52bc9e8f60919f65c30fa6ec556d1f9f947
parent0a32045caf461b3e02778714b5166219fbd3bbe0
mescc: getcwd: Support getcwd (0, 0) GNU extension.

* lib/linux/libc.c (_getcwd): Rename from getcwd.
(_getcwd): New function.  Support getcwd (0, 0) GNU extension.
lib/linux/libc.c