From 0b7c56a5f554f9d34659a6c889bf71405991a2ed Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Fri, 12 Jan 2007 15:26:02 +0000 Subject: [PATCH] * fork.cc (child_copy): Add missing Windows PID in debug output. --- winsup/cygwin/ChangeLog | 6 +++++- winsup/cygwin/fork.cc | 6 +++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 18cc5be95..d48eed1c5 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,4 +1,8 @@ -2007-01-10 Corinna Vinschen +2007-01-12 Corinna Vinschen + + * fork.cc (child_copy): Add missing Windows PID in debug output. + +2007-01-12 Corinna Vinschen * syscalls.cc: Update copyright. diff --git a/winsup/cygwin/fork.cc b/winsup/cygwin/fork.cc index fcf231903..51afce9c1 100644 --- a/winsup/cygwin/fork.cc +++ b/winsup/cygwin/fork.cc @@ -1,7 +1,7 @@ /* fork.cc - Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2004, 2005, 2006 - Red Hat, Inc. + Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2004, 2005, 2006, + 2007 Red Hat, Inc. This file is part of Cygwin. @@ -704,7 +704,7 @@ child_copy (HANDLE hp, bool write, ...) /* If this happens then there is a bug in our fork implementation somewhere. */ system_printf ("%s %s copy failed, %p..%p, done %d, windows pid %u, %E", - what, huh[write], low, high, done); + what, huh[write], low, high, done, myself->dwProcessId); goto err; } }