FIX #2122: file locking bug
authorSimon Marlow <simonmar@microsoft.com>
Tue, 26 Feb 2008 10:46:50 +0000 (10:46 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Tue, 26 Feb 2008 10:46:50 +0000 (10:46 +0000)
commit7453eaaf0b690420ef2359f022a1838ad697b441
treed218c41692a4ed66c523eb5f912aa3a166b7f3d9
parente16acfd0329fbd10a1ff1bf808eb3b795fe1f56c
FIX #2122: file locking bug
Second and subsequent readers weren't being inserted into the
fd->lock hash table, which meant that the file wasn't correctly
unlocked when the Handles were closed.
rts/posix/FileLock.c