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>2011-12-04 01:43:27 +0400
committerChristopher Faylor <me@cgf.cx>2011-12-04 01:43:27 +0400
commitb9aa81491f62f6053bb648f20143ba9e68051622 (patch)
tree4156e112e197c9d9e4de5d0eb3ba0e51b57b9364 /winsup/cygwin/path.cc
parent8b2547826762b748ad5b2bbe4089c422c7cd312a (diff)
Throughout, remove extra space after function name from debugging output.
Throughout, change syscalls to report on return values using new %R format option. * smallprint.cc (__small_vsprintf): Add parsing for %R to report on return values and possible errno from syscalls. * errno.cc (errmap): Add PRIVILEGE_NOT_HELD. * fhandler_tty.cc (fhandler_pty_master::setup): When creating a thread use shorter name to reduce debuggging output. * select.cc (start_thread_pipe): Ditto. (start_thread_serial): Ditto. (start_thread_socket): Ditto. (start_thread_mailslot): Ditto. * sigproc.cc (talktome): Ditto.
Diffstat (limited to 'winsup/cygwin/path.cc')
-rw-r--r--winsup/cygwin/path.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc
index 4b1541908..56b219485 100644
--- a/winsup/cygwin/path.cc
+++ b/winsup/cygwin/path.cc
@@ -1739,7 +1739,7 @@ symlink_worker (const char *oldpath, const char *newpath, bool use_winsym,
NtClose (fh);
done:
- syscall_printf ("%d = symlink_worker (%s, %s, %d, %d)", res, oldpath,
+ syscall_printf ("%d = symlink_worker(%s, %s, %d, %d)", res, oldpath,
newpath, mk_winsym, isdevice);
if (has_trailing_dirsep)
free ((void *) newpath);
@@ -2714,7 +2714,7 @@ restart:
NtClose (h);
}
- syscall_printf ("%d = symlink.check (%s, %p) (%p)",
+ syscall_printf ("%d = symlink.check(%s, %p) (%p)",
res, suffix.path, contents, pflags);
return res;
}
@@ -2890,7 +2890,7 @@ chdir (const char *in_dir)
/* Note that we're accessing cwd.posix without a lock here. I didn't think
it was worth locking just for strace. */
- syscall_printf ("%d = chdir() cygheap->cwd.posix '%s' native '%S'", res,
+ syscall_printf ("%R = chdir() cygheap->cwd.posix '%s' native '%S'", res,
cygheap->cwd.get_posix (), path.get_nt_native_path ());
MALLOC_CHECK;
return res;
@@ -2906,7 +2906,7 @@ fchdir (int fd)
else
res = -1;
- syscall_printf ("%d = fchdir (%d)", res, fd);
+ syscall_printf ("%R = fchdir(%d)", res, fd);
return res;
}