* 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.
This commit is contained in:
Christopher Faylor
2011-06-05 02:10:31 +00:00
parent 665f9a59a4
commit d5cb221b85
3 changed files with 10 additions and 3 deletions

View File

@ -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;
}