mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-30 02:50:25 +08:00
2fe2790925
(fhandler_socket::set_sun_path): New method. (fhandler_socket::get_sun_path): Ditto. * fhandler_socket.cc (fhandler_socket::fhandler_socket): Initialize sun_path to NULL. (fhandler_socket::~fhandler_socket): Free sun_path if needed. (fhandler_socket::set_sun_path): New method. * net.cc (cygwin_bind): Set sun_path to path of local socket file. (cygwin_getsockname): Add code to return correct sockaddr for unix domain sockets.
13 lines
553 B
Plaintext
13 lines
553 B
Plaintext
2002-01-01 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
* fhandler.h (fhandler_socket::sun_path): New private member.
|
|
(fhandler_socket::set_sun_path): New method.
|
|
(fhandler_socket::get_sun_path): Ditto.
|
|
* fhandler_socket.cc (fhandler_socket::fhandler_socket): Initialize
|
|
sun_path to NULL.
|
|
(fhandler_socket::~fhandler_socket): Free sun_path if needed.
|
|
(fhandler_socket::set_sun_path): New method.
|
|
* net.cc (cygwin_bind): Set sun_path to path of local socket file.
|
|
(cygwin_getsockname): Add code to return correct sockaddr for unix
|
|
domain sockets.
|