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>2006-08-11 00:25:54 +0400
committerChristopher Faylor <me@cgf.cx>2006-08-11 00:25:54 +0400
commit1767b8d02834dfbd10c2857f1035c22148856d75 (patch)
tree3a481e3694a7d36e2d6347d32f82e3028cacc75a /winsup/cygwin/debug.cc
parent2f98d8bdc7a9615d7d473cd808e7482c62bd9e41 (diff)
* pinfo.cc (_onreturn::~onreturn): Don't attempt to close a NULL handle.
Diffstat (limited to 'winsup/cygwin/debug.cc')
-rw-r--r--winsup/cygwin/debug.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/debug.cc b/winsup/cygwin/debug.cc
index 5e92d40a1..bb75b3162 100644
--- a/winsup/cygwin/debug.cc
+++ b/winsup/cygwin/debug.cc
@@ -240,7 +240,7 @@ close_handle (const char *func, int ln, HANDLE h, const char *name, bool force)
#if 1 /* Uncomment to see CloseHandle failures */
if (!ret)
- small_printf ("CloseHandle(%s) failed %s:%d\n", name, func, ln);
+ small_printf ("CloseHandle(%s) %p failed %s:%d, %E\n", name, h, func, ln);
#endif
return ret;
}