diff --git a/winsup/cygwin/dtable.cc b/winsup/cygwin/dtable.cc index ad4b59211..84149bd3f 100644 --- a/winsup/cygwin/dtable.cc +++ b/winsup/cygwin/dtable.cc @@ -687,7 +687,7 @@ dtable::dup_worker (fhandler_base *oldfh, int flags) if (!oldfh->archetype) newfh->set_handle (NULL); - newfh->pc.reset_conv_handle (); + newfh->pc.close_conv_handle (); if (oldfh->dup (newfh, flags)) { delete newfh; diff --git a/winsup/cygwin/fhandler_pipe.cc b/winsup/cygwin/fhandler_pipe.cc index edbaded68..830e8f823 100644 --- a/winsup/cygwin/fhandler_pipe.cc +++ b/winsup/cygwin/fhandler_pipe.cc @@ -98,7 +98,7 @@ fhandler_pipe::open (int flags, mode_t mode) continue; cfd->copyto (this); set_handle (NULL); - pc.reset_conv_handle (); + pc.close_conv_handle (); if (!cfd->dup (this, flags)) return 1; return 0; diff --git a/winsup/cygwin/path.h b/winsup/cygwin/path.h index 62bd5ddd5..33e7fdf6a 100644 --- a/winsup/cygwin/path.h +++ b/winsup/cygwin/path.h @@ -406,7 +406,6 @@ class path_conv return conv_handle.get_finfo (h, fs.is_nfs ()); } inline ino_t get_ino () const { return conv_handle.get_ino (fs.is_nfs ()); } - void reset_conv_handle () { conv_handle.set (NULL); } void close_conv_handle () { conv_handle.close (); } ino_t get_ino_by_handle (HANDLE h);