projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update known-issues
[mono.git]
/
support
/
unistd.c
diff --git
a/support/unistd.c
b/support/unistd.c
index 9fe9d7c6ad6ac3b60fa41ab06f5824a25bcc2e50..209c0c1c450c1bae02b7fec90dbdcae168d1d94c 100644
(file)
--- a/
support/unistd.c
+++ b/
support/unistd.c
@@
-239,25
+239,22
@@
Mono_Posix_Syscall_swab (void *from, void *to, mph_ssize_t n)
int
Mono_Posix_Syscall_setusershell (void)
{
int
Mono_Posix_Syscall_setusershell (void)
{
- errno = 0;
setusershell ();
setusershell ();
- return
errno == 0 ? 0 : -1
;
+ return
0
;
}
int
Mono_Posix_Syscall_endusershell (void)
{
}
int
Mono_Posix_Syscall_endusershell (void)
{
- errno = 0;
endusershell ();
endusershell ();
- return
errno == 0 ? 0 : -1
;
+ return
0
;
}
int
Mono_Posix_Syscall_sync (void)
{
}
int
Mono_Posix_Syscall_sync (void)
{
- errno = 0;
sync ();
sync ();
- return
errno == 0 ? 0 : -1
;
+ return
0
;
}
}