diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2003-03-04 16:35:00 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2003-03-04 16:35:00 +0000 |
commit | 12390bc40d383f64378813b4e698ffc7750d94e8 (patch) | |
tree | dcd2eff87c0dcd7dc266c3e0ba9c4a9210c924ce | |
parent | f061780ce84d6b14bdf250152a16c9210aff4bc7 (diff) | |
download | newlib-12390bc40d383f64378813b4e698ffc7750d94e8.zip newlib-12390bc40d383f64378813b4e698ffc7750d94e8.tar.gz newlib-12390bc40d383f64378813b4e698ffc7750d94e8.tar.bz2 |
* fhandler_socket.cc (fhandler_socket::dup): Initialize type.
-rw-r--r-- | winsup/cygwin/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/cygwin/fhandler_socket.cc | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index ca80ac0..f1e9471 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2003-03-04 Jason Tishler <jason@tishler.net> + + * fhandler_socket.cc (fhandler_socket::dup): Initialize type. + 2003-03-03 Christopher Faylor <cgf@redhat.com> * fhandler.h (fhandler_tty_slave::close): Declare new function. diff --git a/winsup/cygwin/fhandler_socket.cc b/winsup/cygwin/fhandler_socket.cc index 0e90317..ad6fc20 100644 --- a/winsup/cygwin/fhandler_socket.cc +++ b/winsup/cygwin/fhandler_socket.cc @@ -383,6 +383,7 @@ fhandler_socket::dup (fhandler_base *child) fhs->set_io_handle (get_io_handle ()); if (get_addr_family () == AF_LOCAL) fhs->set_sun_path (get_sun_path ()); + fhs->set_socket_type (get_socket_type ()); fhs->fixup_before_fork_exec (GetCurrentProcessId ()); if (winsock2_active) |