4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-02-22 16:49:45 +08:00

* 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> 2007-05-22 Corinna Vinschen <corinna@vinschen.de>
* path.cc (cwdstuff::set): Avoid double aquiring of cwd_lock. * path.cc (cwdstuff::set): Avoid double aquiring of cwd_lock.

View File

@ -4224,7 +4224,6 @@ cwdstuff::set (const char *win32_cwd, const char *posix_cwd, bool doit)
if (win32_cwd) if (win32_cwd)
{ {
if (!cwd_lock.acquired ())
cwd_lock.acquire (); cwd_lock.acquire ();
if (doit) if (doit)
{ {