summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/shared.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2011-06-05 02:10:31 +0000
committerChristopher Faylor <me@cgf.cx>2011-06-05 02:10:31 +0000
commitd5cb221b85cc8120c0947d74178f762c84d47a96 (patch)
tree9e3eeb5584a4d9745aacb92ee5dcbe3e671bad58 /winsup/cygwin/shared.cc
parent665f9a59a412731a6262e953b7b76f93a2ce13c8 (diff)
downloadcygnal-d5cb221b85cc8120c0947d74178f762c84d47a96.tar.gz
cygnal-d5cb221b85cc8120c0947d74178f762c84d47a96.tar.bz2
cygnal-d5cb221b85cc8120c0947d74178f762c84d47a96.zip
* fhandler_console.cc (fhandler_console::open_shared_console): Don't zero
handle to open_shared since it is supposed to be an input. (enum_windows): Set handle input to open_shared to NULL since it does not represent any previously opened shared region. * shared.cc (open_shared): Tweak debugging output.
Diffstat (limited to 'winsup/cygwin/shared.cc')
-rw-r--r--winsup/cygwin/shared.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/shared.cc b/winsup/cygwin/shared.cc
index 22138d0be..a4b5b006a 100644
--- a/winsup/cygwin/shared.cc
+++ b/winsup/cygwin/shared.cc
@@ -301,7 +301,7 @@ open_shared (const WCHAR *name, int n, HANDLE& shared_h, DWORD size,
offsets[SH_TOTAL_SIZE] += delta;
}
- debug_printf ("name %W, n %d, shared %p (wanted %p), h %p", mapname, n, shared, addr, shared_h);
+ debug_printf ("name %W, n %d, shared %p (wanted %p), h %p, *m %d", mapname, n, shared, addr, shared_h, *m);
return shared;
}