flock: Fix hang in object collision case

* flock.cc (lockf_t::create_lock_obj): Correctly recreate lock object
	attributes anew in each loop.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen
2015-11-12 13:14:08 +01:00
parent e6459123e4
commit 914620a7e6
3 changed files with 12 additions and 2 deletions

View File

@@ -12,3 +12,8 @@ Bug Fixes
- The fix for wine introduced in 2.3.0 crashes in 32 bit Cygwin on 64 bit XP
and 64 bit Server 2003 only. This should work now.
Addresses: https://cygwin.com/ml/cygwin/2015-11/msg00187.html
- The fix to avoid a potential crash in advisory file locking introduced in
2.3.0 waas not entirely correct and failed to work in certain border cases.
This should work now.
Addresses: https://cygwin.com/ml/cygwin/2015-11/msg00189.html