mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-22 00:38:06 +08:00
*dir.cc (readdir_r): Invert sense on error-test.
This commit is contained in:
parent
970fabec27
commit
988e9165e9
@ -1,3 +1,8 @@
|
|||||||
|
2005-08-27 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
|
||||||
|
|
||||||
|
*dir.cc (readdir_r): Invert sense on error-test.
|
||||||
|
|
||||||
|
|
||||||
2005-08-25 Corinna Vinschen <corinna@vinschen.de>
|
2005-08-25 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* path.cc (normalize_posix_path): Keep two leading slashes
|
* path.cc (normalize_posix_path): Keep two leading slashes
|
||||||
|
@ -160,7 +160,7 @@ readdir_r (DIR *dir, dirent *de, dirent **ode)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
*ode = NULL;
|
*ode = NULL;
|
||||||
if (res != ENMFILE)
|
if (res == ENMFILE)
|
||||||
res = 0;
|
res = 0;
|
||||||
}
|
}
|
||||||
return res;
|
return res;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user