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>2005-04-22 17:58:09 +0400
committerChristopher Faylor <me@cgf.cx>2005-04-22 17:58:09 +0400
commitfb201f9270852972b28ceee21bcc2cfbf2e89e15 (patch)
tree4cedce7b18d548c5166872d627c56eb5df0cbcd3 /winsup/cygwin/strace.cc
parentb13aa0048929834caaba6aba47e70125bc436e31 (diff)
* fhandler.cc (fhandler_base::read): Remove unused signal state tweaks.
* fhandler.h (fhandler_pipe::create_selectable): Declare. (fhandler_fifo::close_one_end): Declare. * fhandler_fifo.cc (fhandler_fifo::close_one_end): Define. (fhandler_fifo::open_not_mine): Use close_one_end to close appropriate end of pipe. * pinfo.cc (_pinfo::commune_recv): Ditto. * pipe.cc (fhandler_pipe::create_selectable): Rename from create_selectable_pipe. Reorganize. (fhandler_pipe::create): Use create_selectable.
Diffstat (limited to 'winsup/cygwin/strace.cc')
-rw-r--r--winsup/cygwin/strace.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/winsup/cygwin/strace.cc b/winsup/cygwin/strace.cc
index 1a73e3d8e..8716ccef9 100644
--- a/winsup/cygwin/strace.cc
+++ b/winsup/cygwin/strace.cc
@@ -54,7 +54,9 @@ strace::hello ()
if (active)
{
prntf (1, NULL, "**********************************************");
- prntf (1, NULL, "Program name: %s (%d)", myself->progname, myself->pid ?: GetCurrentProcessId ());
+ prntf (1, NULL, "Program name: %s (pid %d, ppid %d)", myself->progname,
+ myself->pid ?: GetCurrentProcessId (),
+ myself->ppid ?: 1);
prntf (1, NULL, "App version: %d.%d, api: %d.%d",
user_data->dll_major, user_data->dll_minor,
user_data->api_major, user_data->api_minor);