* path.cc (cwdstuff::set): Revert useless acquire check.
This commit is contained in:
parent
542a6016e5
commit
04396e79d2
|
@ -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.
|
||||||
|
|
|
@ -4224,8 +4224,7 @@ 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)
|
||||||
{
|
{
|
||||||
/* We utilize the user parameter block. The directory is
|
/* We utilize the user parameter block. The directory is
|
||||||
|
|
Loading…
Reference in New Issue