Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2007-08-13 23:15:47 +0400
committerCorinna Vinschen <corinna@vinschen.de>2007-08-13 23:15:47 +0400
commitdeafd19cea516a1767139135ecba0c5660f67b60 (patch)
treeaf8e81985582bd7fbb1b809091b3fc573072044d /winsup/cygwin/fhandler_socket.cc
parenta9a6f942293356d65ba63f708037b5574dccb0f0 (diff)
* fhandler.h (fhandler_base::close_fs): Reintroduce (as inline function)
for clearness. * fhandler_disk_file.cc (fhandler_base::fstat_fs): Revert previous change. (fhandler_base::open_fs): Ditto. * fhandler_socket.cc (fhandler_socket::close): Ditto.
Diffstat (limited to 'winsup/cygwin/fhandler_socket.cc')
-rw-r--r--winsup/cygwin/fhandler_socket.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/winsup/cygwin/fhandler_socket.cc b/winsup/cygwin/fhandler_socket.cc
index 1827690dd..03eadd351 100644
--- a/winsup/cygwin/fhandler_socket.cc
+++ b/winsup/cygwin/fhandler_socket.cc
@@ -1391,9 +1391,6 @@ fhandler_socket::close ()
{
int res = 0;
- if (get_device () == FH_UNIX)
- return fhandler_base::close ();
-
/* HACK to allow a graceful shutdown even if shutdown() hasn't been
called by the application. Note that this isn't the ultimate
solution but it helps in many cases. */