From 18be975d30156bf2d0d8d19534826eea0fffd943 Mon Sep 17 00:00:00 2001 From: Conrad Scott Date: Mon, 30 Sep 2002 18:31:56 +0000 Subject: [PATCH] * cygserver_transport_pipes.cc (transport_layer_pipes::accept): Remove trailing \n from debug_printf. --- winsup/cygserver/transport_pipes.cc | 2 +- winsup/cygwin/ChangeLog | 5 +++++ winsup/cygwin/cygserver_transport_pipes.cc | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/winsup/cygserver/transport_pipes.cc b/winsup/cygserver/transport_pipes.cc index f318a7592..495d804b0 100644 --- a/winsup/cygserver/transport_pipes.cc +++ b/winsup/cygserver/transport_pipes.cc @@ -170,7 +170,7 @@ transport_layer_pipes::accept (bool *const recoverable) if (!ConnectNamedPipe (accept_pipe, NULL) && GetLastError () != ERROR_PIPE_CONNECTED) { - debug_printf ("error connecting to pipe (%lu)\n.", GetLastError ()); + debug_printf ("error connecting to pipe (%lu)", GetLastError ()); (void) CloseHandle (accept_pipe); *recoverable = true; // FIXME: case analysis? return NULL; diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index f4598a7e5..b804b8fce 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2002-09-30 Conrad Scott + + * cygserver_transport_pipes.cc (transport_layer_pipes::accept): + Remove trailing \n from debug_printf. + 2002-09-30 Christopher Faylor * thread.cc (pthread_mutex::initMutex): Remove \n from api_fatal. diff --git a/winsup/cygwin/cygserver_transport_pipes.cc b/winsup/cygwin/cygserver_transport_pipes.cc index f318a7592..495d804b0 100755 --- a/winsup/cygwin/cygserver_transport_pipes.cc +++ b/winsup/cygwin/cygserver_transport_pipes.cc @@ -170,7 +170,7 @@ transport_layer_pipes::accept (bool *const recoverable) if (!ConnectNamedPipe (accept_pipe, NULL) && GetLastError () != ERROR_PIPE_CONNECTED) { - debug_printf ("error connecting to pipe (%lu)\n.", GetLastError ()); + debug_printf ("error connecting to pipe (%lu)", GetLastError ()); (void) CloseHandle (accept_pipe); *recoverable = true; // FIXME: case analysis? return NULL;