Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-09-30 08:35:18 +0400
committerChristopher Faylor <me@cgf.cx>2002-09-30 08:35:18 +0400
commitf70389b541c72c3022a63a86603526644c75102a (patch)
tree1c52fb4bb4949d3c187373cbf186d165aba488ef /winsup/cygwin/syscalls.cc
parentda77b2c84c6d5ea5ff4fa7d7dcbbd85db105a15f (diff)
Remove \n from calls to strace class printfs throughout.
Diffstat (limited to 'winsup/cygwin/syscalls.cc')
-rw-r--r--winsup/cygwin/syscalls.cc20
1 files changed, 10 insertions, 10 deletions
diff --git a/winsup/cygwin/syscalls.cc b/winsup/cygwin/syscalls.cc
index 167e9c0f9..a2c813c9e 100644
--- a/winsup/cygwin/syscalls.cc
+++ b/winsup/cygwin/syscalls.cc
@@ -379,7 +379,7 @@ readv (int fd, const struct iovec *const iov, const int iovcnt)
fd, iov, iovcnt, wait ? "" : "non", sigcatchers);
if (wait && (!cfd->is_slow () || cfd->get_r_no_interrupt ()))
- debug_printf ("no need to call ready_for_read\n");
+ debug_printf ("no need to call ready_for_read");
else if (!cfd->ready_for_read (fd, wait))
{
res = -1;
@@ -1576,33 +1576,33 @@ ctermid (char *str)
extern "C" int
_cygwin_istext_for_stdio (int fd)
{
- syscall_printf ("_cygwin_istext_for_stdio (%d)\n", fd);
+ syscall_printf ("_cygwin_istext_for_stdio (%d)", fd);
if (CYGWIN_VERSION_OLD_STDIO_CRLF_HANDLING)
{
- syscall_printf (" _cifs: old API\n");
+ syscall_printf (" _cifs: old API");
return 0; /* we do it for old apps, due to getc/putc macros */
}
cygheap_fdget cfd (fd, false, false);
if (cfd < 0)
{
- syscall_printf (" _cifs: fd not open\n");
+ syscall_printf (" _cifs: fd not open");
return 0;
}
if (cfd->get_device () != FH_DISK)
{
- syscall_printf (" _cifs: fd not disk file\n");
+ syscall_printf (" _cifs: fd not disk file");
return 0;
}
if (cfd->get_w_binary () || cfd->get_r_binary ())
{
- syscall_printf (" _cifs: get_*_binary\n");
+ syscall_printf (" _cifs: get_*_binary");
return 0;
}
- syscall_printf ("_cygwin_istext_for_stdio says yes\n");
+ syscall_printf ("_cygwin_istext_for_stdio says yes");
return 1;
}
@@ -1617,7 +1617,7 @@ setmode_helper (FILE *f)
{
if (fileno (f) != setmode_file)
return 0;
- syscall_printf ("setmode: file was %s now %s\n",
+ syscall_printf ("setmode: file was %s now %s",
f->_flags & __SCLE ? "text" : "raw",
setmode_mode & O_TEXT ? "text" : "raw");
if (setmode_mode & O_TEXT)
@@ -1677,7 +1677,7 @@ setmode (int fd, int mode)
setmode_file = fd;
_fwalk (_REENT, setmode_helper);
- syscall_printf ("setmode (%d<%s>, %p) returns %s\n", fd, cfd->get_name (),
+ syscall_printf ("setmode (%d<%s>, %p) returns %s", fd, cfd->get_name (),
mode, res & O_TEXT ? "text" : "binary");
return res;
}
@@ -2155,7 +2155,7 @@ setegid32 (__gid32_t gid)
RevertToSelf ();
}
if (!OpenProcessToken (hMainProc, TOKEN_ADJUST_DEFAULT, &ptok))
- debug_printf ("OpenProcessToken(): %E\n");
+ debug_printf ("OpenProcessToken(): %E");
else
{
if (!SetTokenInformation (ptok, TokenPrimaryGroup,