On Fri, 16 May 2025 08:46:40 +0900 Takashi Yano wrote: > diff --git a/winsup/cygwin/local_includes/cygheap.h > b/winsup/cygwin/local_includes/cygheap.h > index fed87ec2b..7d11fbb37 100644 > --- a/winsup/cygwin/local_includes/cygheap.h > +++ b/winsup/cygwin/local_includes/cygheap.h > @@ -604,6 +604,8 @@ class cygheap_fdnew : public cygheap_fdmanip > { > if (cygheap->fdtab[fd]) > cygheap->fdtab[fd]->inc_refcnt (); > + if (locked) > + cygheap->fdtab.unlock (); > } > void operator = (fhandler_base *fh) {cygheap->fdtab[fd] = fh;} > };
This should not be done, because the parent class cygheap_fdmanip does that. -- Takashi Yano <takashi.y...@nifty.ne.jp> -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple