* fhandler.cc (fhandler_base::dup): Use debug_printf.
This commit is contained in:
parent
4875a4b66e
commit
d495ee9ff0
winsup/cygwin
|
@ -1,3 +1,7 @@
|
||||||
|
2004-09-10 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* fhandler.cc (fhandler_base::dup): Use debug_printf.
|
||||||
|
|
||||||
2004-09-10 Corinna Vinschen <corinna@vinschen.de>
|
2004-09-10 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* Makefile.in: Create libutil.a from bsdlib.o exports.
|
* Makefile.in: Create libutil.a from bsdlib.o exports.
|
||||||
|
|
|
@ -1245,7 +1245,7 @@ fhandler_base::dup (fhandler_base *child)
|
||||||
if (!DuplicateHandle (hMainProc, get_handle (), hMainProc, &nh, 0, TRUE,
|
if (!DuplicateHandle (hMainProc, get_handle (), hMainProc, &nh, 0, TRUE,
|
||||||
DUPLICATE_SAME_ACCESS))
|
DUPLICATE_SAME_ACCESS))
|
||||||
{
|
{
|
||||||
system_printf ("dup(%s) failed, handle %x, %E",
|
debug_printf ("dup(%s) failed, handle %x, %E",
|
||||||
get_name (), get_handle ());
|
get_name (), get_handle ());
|
||||||
__seterrno ();
|
__seterrno ();
|
||||||
return -1;
|
return -1;
|
||||||
|
|
Loading…
Reference in New Issue