*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>
|
||||
|
||||
* path.cc (normalize_posix_path): Keep two leading slashes
|
||||
|
@ -160,7 +160,7 @@ readdir_r (DIR *dir, dirent *de, dirent **ode)
|
||||
else
|
||||
{
|
||||
*ode = NULL;
|
||||
if (res != ENMFILE)
|
||||
if (res == ENMFILE)
|
||||
res = 0;
|
||||
}
|
||||
return res;
|
||||
|
Loading…
Reference in New Issue
Block a user