projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
2007-07-18 Miguel de Icaza <miguel@novell.com>
[mono.git]
/
support
/
pwd.c
diff --git
a/support/pwd.c
b/support/pwd.c
index 8eb27ef5ef7fa87fef566a901b888de52a1c6855..e622027458dfa806dbdaf0525b27ce10484a3473 100644
(file)
--- a/
support/pwd.c
+++ b/
support/pwd.c
@@
-249,7
+249,9
@@
Mono_Posix_Syscall_endpwent (void)
{
errno = 0;
endpwent ();
- return errno == 0 ? 0 : -1;
+ if (errno == EIO)
+ return -1;
+ return 0;
}
G_END_DECLS