diff --git a/winsup/cygwin/dtable.cc b/winsup/cygwin/dtable.cc index 51a9209ea..0e5370abc 100644 --- a/winsup/cygwin/dtable.cc +++ b/winsup/cygwin/dtable.cc @@ -677,12 +677,9 @@ out: fhandler_base * dtable::dup_worker (fhandler_base *oldfh, int flags, DWORD src_pid) { - /* Don't call set_name in build_fh_pc. It will be called in - fhandler_base::operator= below. Calling it twice will result - in double allocation. */ fhandler_base *newfh = oldfh->clone (); if (!newfh) - debug_printf ("build_fh_pc failed"); + debug_printf ("clone failed"); else { if (!oldfh->archetype)