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:
Diffstat (limited to 'winsup/cygwin/dtable.cc')
-rw-r--r--winsup/cygwin/dtable.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/dtable.cc b/winsup/cygwin/dtable.cc
index 7f52c9750..332bc7105 100644
--- a/winsup/cygwin/dtable.cc
+++ b/winsup/cygwin/dtable.cc
@@ -582,6 +582,7 @@ dtable::dup_worker (fhandler_base *oldfh, int flags)
{
*newfh = *oldfh;
newfh->set_io_handle (NULL);
+ newfh->pc.reset_conv_handle ();
if (oldfh->dup (newfh))
{
delete newfh;