diff options
-rw-r--r-- | ChangeLog-97a | 4 | ||||
-rw-r--r-- | netsvcs/lib/Client_Logging_Handler.cpp | 6 |
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog-97a b/ChangeLog-97a index 2bfd71b02fb..218cdbd0169 100644 --- a/ChangeLog-97a +++ b/ChangeLog-97a @@ -16,6 +16,10 @@ Tue Apr 29 19:57:52 1997 <irfan@TWOSTEP> * netsvcs/lib/TS_Server_Handler.cpp (init): Same as above. + * netsvcs/lib/Client_Logging_Handler.cpp (open): Removed the + registration of SIGPIPE for Win32. Win32 does not support + SIGPIPE. + * tests/Process_Strategy_Test.cpp (server): The new thread must become owner before it can call Reactor::handle_events. Also fixed #define typo. diff --git a/netsvcs/lib/Client_Logging_Handler.cpp b/netsvcs/lib/Client_Logging_Handler.cpp index 21ffab135f7..67a962b5d75 100644 --- a/netsvcs/lib/Client_Logging_Handler.cpp +++ b/netsvcs/lib/Client_Logging_Handler.cpp @@ -47,14 +47,16 @@ ACE_Client_Logging_Handler::open (void *) // Register ourselves to receive SIGPIPE so we can attempt // reconnections. +#if !defined (ACE_WIN32) if (ACE_Service_Config::reactor ()->register_handler (SIGPIPE, this) == -1) ACE_ERROR_RETURN ((LM_ERROR, "%n: %p\n", "register_handler (SIGPIPE)"), -1); +#endif /* ACE_WIN32 */ // Figure out what remote port we're really bound to. - else if (this->peer ().get_remote_addr (server_addr) == -1) + if (this->peer ().get_remote_addr (server_addr) == -1) ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "get_remote_addr"), -1); - + ACE_DEBUG ((LM_DEBUG, "starting up Client Logging Daemon, " "connected to port %d on handle %d\n", |