* path.cc (cwdstuff::set): Revert useless acquire check.

This commit is contained in:
Corinna Vinschen 2007-05-22 13:03:43 +00:00
parent 542a6016e5
commit 04396e79d2
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2007-05-22 Corinna Vinschen <corinna@vinschen.de>
* path.cc (cwdstuff::set): Revert useless acquire check.
2007-05-22 Corinna Vinschen <corinna@vinschen.de>
* path.cc (cwdstuff::set): Avoid double aquiring of cwd_lock.

View File

@ -4224,8 +4224,7 @@ cwdstuff::set (const char *win32_cwd, const char *posix_cwd, bool doit)
if (win32_cwd)
{
if (!cwd_lock.acquired ())
cwd_lock.acquire ();
cwd_lock.acquire ();
if (doit)
{
/* We utilize the user parameter block. The directory is