mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-08 18:19:08 +08:00
Cygwin: dtable::dup_worker: update comment and debug output
The comment and debug output became obsolete in commit 23771fa1f7 when dup_worker started calling fhandler_base::clone instead of build_fh_pc and fhandler_base::operator=.
This commit is contained in:
parent
283325de13
commit
68bcbd0d24
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user