From c6ad91f3f8594a00290ad6f4c50553719fb858e4 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Mon, 13 Dec 2004 19:33:30 +0000 Subject: [PATCH] * cygheap.h (cwdstuff::get_drive): Release cwd_lock. --- winsup/cygwin/ChangeLog | 4 ++++ winsup/cygwin/cygheap.h | 1 + 2 files changed, 5 insertions(+) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 5554eab6c..fafba552e 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2004-12-13 Corinna Vinschen + + * cygheap.h (cwdstuff::get_drive): Release cwd_lock. + 2004-12-12 Bas van Gompel * fhandler.cc (fhandler_base::puts_readahead): Fix end-condition. diff --git a/winsup/cygwin/cygheap.h b/winsup/cygwin/cygheap.h index 323ab0ade..d3baae329 100644 --- a/winsup/cygwin/cygheap.h +++ b/winsup/cygwin/cygheap.h @@ -235,6 +235,7 @@ struct cwdstuff { get_initial (); memcpy (dst, win32, drive_length); + cwd_lock->release (); return drive_length; } void init ();