diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2005-03-01 11:51:29 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2005-03-01 11:51:29 +0000 |
commit | 4717214c201b6d54b7c58d1fedf6e88c5336f55c (patch) | |
tree | a744789ae843e8d73f7a0c2f78ba8862bca80104 /winsup/cygwin/net.cc | |
parent | 93c60b6d6a34653d966a90f2bdb4fd6e28ed0a76 (diff) | |
download | cygnal-4717214c201b6d54b7c58d1fedf6e88c5336f55c.tar.gz cygnal-4717214c201b6d54b7c58d1fedf6e88c5336f55c.tar.bz2 cygnal-4717214c201b6d54b7c58d1fedf6e88c5336f55c.zip |
* fhandler_clipboard.cc (fhandler_dev_clipboard::write): Never set
errno to 0.
(fhandler_dev_clipboard::read): Ditto.
* fhandler_windows.cc (fhandler_windows::read): Ditto.
* scandir.cc (scandir): Ditto.
* syscalls.cc (_fstat64_r): Ditto.
(_fstat_r): Ditto.
(_stat64_r): Ditto.
(_stat_r): Ditto.
* mmap.cc (mmap64): Fix /dev/zero mapping.
Diffstat (limited to 'winsup/cygwin/net.cc')
-rw-r--r-- | winsup/cygwin/net.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/winsup/cygwin/net.cc b/winsup/cygwin/net.cc index 472e97c3e..3fee9eb91 100644 --- a/winsup/cygwin/net.cc +++ b/winsup/cygwin/net.cc @@ -946,7 +946,6 @@ cygwin_gethostname (char *name, size_t len) } } debug_printf ("name %s", name); - h_errno = 0; return 0; } @@ -996,7 +995,6 @@ cygwin_gethostbyname (const char *name) else { debug_printf ("h_name %s", _my_tls.locals.hostent_buf->h_name); - h_errno = 0; } return _my_tls.locals.hostent_buf; } @@ -1020,7 +1018,6 @@ cygwin_gethostbyaddr (const char *addr, int len, int type) else { debug_printf ("h_name %s", _my_tls.locals.hostent_buf->h_name); - h_errno = 0; } return _my_tls.locals.hostent_buf; } |