mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-01-16 19:52:55 -05:00
Fix locking error.
git-svn-id: file:///svn/unbound/trunk@1522 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
ac4535d4e5
commit
159d59a3dc
2 changed files with 2 additions and 1 deletions
|
|
@ -124,7 +124,7 @@ get_state ( ) {
|
|||
# obtain lock for fetching the state
|
||||
# because there is a race condition in fetching and writing to file
|
||||
i=0
|
||||
while test ! -f $lock || test "`cat $lock`" != $$; do
|
||||
while test ! -f $lock || test "`cat $lock 2>&1`" != $$; do
|
||||
while test -f $lock; do
|
||||
# wait
|
||||
i=`expr $i + 1`
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
12 March 2009: Wouter
|
||||
- log to App.logs on windows prints executable identity.
|
||||
- fixup tests.
|
||||
- munin plugin fix benign locking error printout.
|
||||
|
||||
11 March 2009: Wouter
|
||||
- winsock event handler resets WSAevents after signalled.
|
||||
|
|
|
|||
Loading…
Reference in a new issue