OSDN Git Service
(root)
/
pf3gnuchains
/
pf3gnuchains3x.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb27c34
)
* path.cc (cwdstuff::set): Revert useless acquire check.
author
corinna
<corinna>
Tue, 22 May 2007 13:03:42 +0000
(13:03 +0000)
committer
corinna
<corinna>
Tue, 22 May 2007 13:03:42 +0000
(13:03 +0000)
winsup/cygwin/ChangeLog
patch
|
blob
|
history
winsup/cygwin/path.cc
patch
|
blob
|
history
diff --git
a/winsup/cygwin/ChangeLog
b/winsup/cygwin/ChangeLog
index
f23f5e2
..
2b72ec8
100644
(file)
--- a/
winsup/cygwin/ChangeLog
+++ b/
winsup/cygwin/ChangeLog
@@
-1,5
+1,9
@@
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.
Open directory with inheriting enabled.
diff --git
a/winsup/cygwin/path.cc
b/winsup/cygwin/path.cc
index
1bd7cff
..
52c04af
100644
(file)
--- a/
winsup/cygwin/path.cc
+++ b/
winsup/cygwin/path.cc
@@
-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