diff options
author | Christopher Faylor <me@cgf.cx> | 2002-09-30 04:35:18 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-09-30 04:35:18 +0000 |
commit | f70389b541c72c3022a63a86603526644c75102a (patch) | |
tree | 1c52fb4bb4949d3c187373cbf186d165aba488ef /winsup/cygwin/fhandler_clipboard.cc | |
parent | da77b2c84c6d5ea5ff4fa7d7dcbbd85db105a15f (diff) | |
download | cygnal-f70389b541c72c3022a63a86603526644c75102a.tar.gz cygnal-f70389b541c72c3022a63a86603526644c75102a.tar.bz2 cygnal-f70389b541c72c3022a63a86603526644c75102a.zip |
Remove \n from calls to strace class printfs throughout.
Diffstat (limited to 'winsup/cygwin/fhandler_clipboard.cc')
-rw-r--r-- | winsup/cygwin/fhandler_clipboard.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/winsup/cygwin/fhandler_clipboard.cc b/winsup/cygwin/fhandler_clipboard.cc index ce14def20..aeb5933dc 100644 --- a/winsup/cygwin/fhandler_clipboard.cc +++ b/winsup/cygwin/fhandler_clipboard.cc @@ -88,7 +88,7 @@ set_clipboard (const void *buf, size_t len) hmem = GlobalAlloc (GMEM_MOVEABLE, len + sizeof (size_t)); if (!hmem) { - system_printf ("Couldn't allocate global buffer for write\n"); + system_printf ("Couldn't allocate global buffer for write"); return -1; } clipbuf = (unsigned char *) GlobalLock (hmem); @@ -101,7 +101,7 @@ set_clipboard (const void *buf, size_t len) if (!SetClipboardData (cygnativeformat, hmem)) { system_printf - ("Couldn't write native format to the clipboard %04x %x\n", + ("Couldn't write native format to the clipboard %04x %x", cygnativeformat, hmem); /* FIXME: return an appriate error code &| set_errno(); */ return -1; @@ -110,7 +110,7 @@ set_clipboard (const void *buf, size_t len) if (GlobalFree (hmem)) { system_printf - ("Couldn't free global buffer after write to the clipboard\n"); + ("Couldn't free global buffer after write to the clipboard"); /* FIXME: return an appriate error code &| set_errno(); */ return 0; } @@ -121,7 +121,7 @@ set_clipboard (const void *buf, size_t len) hmem = GlobalAlloc (GMEM_MOVEABLE, len + 2); if (!hmem) { - system_printf ("Couldn't allocate global buffer for write\n"); + system_printf ("Couldn't allocate global buffer for write"); return -1; } clipbuf = (unsigned char *) GlobalLock (hmem); @@ -132,7 +132,7 @@ set_clipboard (const void *buf, size_t len) if (!SetClipboardData ((current_codepage == ansi_cp ? CF_TEXT : CF_OEMTEXT), hmem)) { - system_printf ("Couldn't write to the clipboard\n"); + system_printf ("Couldn't write to the clipboard"); /* FIXME: return an appriate error code &| set_errno(); */ return -1; } @@ -140,7 +140,7 @@ set_clipboard (const void *buf, size_t len) if (GlobalFree (hmem)) { system_printf - ("Couldn't free global buffer after write to the clipboard\n"); + ("Couldn't free global buffer after write to the clipboard"); /* FIXME: return an appriate error code &| set_errno(); */ } return 0; @@ -157,7 +157,7 @@ fhandler_dev_clipboard::write (const void *buf, size_t len) void *tempbuffer = realloc (membuffer, cursize + len); if (!tempbuffer) { - system_printf ("Couldn't realloc() clipboard buffer for write\n"); + system_printf ("Couldn't realloc() clipboard buffer for write"); return -1; } membuffer = tempbuffer; @@ -235,7 +235,7 @@ fhandler_dev_clipboard::read (void *ptr, size_t len) { CloseClipboard (); #if 0 - system_printf ("a non-accepted format! %d\n", format); + system_printf ("a non-accepted format! %d", format); #endif set_errno (0); return 0; |