fix readdir_r returns success code while it in fact failed
commit2e116b2eeea5f47ca26458b1962783baced2784c
authorWaldemar Brodkorb <wbx@openadk.org>
Wed, 9 Dec 2015 07:07:09 +0000 (9 08:07 +0100)
committerWaldemar Brodkorb <wbx@openadk.org>
Thu, 17 Dec 2015 19:35:19 +0000 (17 20:35 +0100)
tree5562a2fc7fbc59d7aabddf5d339e2711bc533efc
parentd1b81113b43a6d26dec4e0e58a380895d121006e
fix readdir_r returns success code while it in fact failed

Taken from Freetz.org.

Signed-off-by: Leonid Lisovskiy <lly.dev@gmail.com>
Signed-off-by: Waldemar Brodkorb <wbx@uclibc-ng.org>
libc/misc/dirent/readdir_r.c