[Patch]: shared.cc debug info.
Pierre A. Humblet
pierre@phumblet.no-ip.org
Tue Oct 7 01:26:00 GMT 2003
Here is a pretty simple patch..
BTW, are there more questions about "[Patch]: Fixing the PROCESS_DUP_HANDLE
security hole (part 1)." from last week?
Pierre
2003-10-06 Pierre Humblet <pierre.humblet@ieee.org>
* shared.cc (open_shared): Report map name in api_fatal.
Index: shared.cc
===================================================================
RCS file: /cvs/src/src/winsup/cygwin/shared.cc,v
retrieving revision 1.75
diff -u -p -r1.75 shared.cc
--- shared.cc 25 Sep 2003 02:29:04 -0000 1.75
+++ shared.cc 7 Oct 2003 01:02:30 -0000
@@ -99,7 +99,7 @@ open_shared (const char *name, int n, HA
if (!shared_h &&
!(shared_h = CreateFileMapping (INVALID_HANDLE_VALUE, psa,
PAGE_READWRITE, 0, size, mapname)))
- api_fatal ("CreateFileMapping, %E. Terminating.");
+ api_fatal ("CreateFileMapping %s, %E. Terminating.", mapname);
}
shared = (shared_info *)
More information about the Cygwin-patches
mailing list