Always take the item lock when reading/writing configuration values
authorRémi Denis-Courmont <remi@remlab.net>
Wed, 6 May 2009 17:20:53 +0000 (20:20 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Wed, 6 May 2009 17:25:59 +0000 (20:25 +0300)
commitbaa37df2bdbe3a0dac15affe70eb8eed6a0acb1d
treeddf0b136a4547ddf6b6d7b6c493d8eb8b5a4914e
parente61b137f927a5a563634af8c59e69fbfdd7a3671
Always take the item lock when reading/writing configuration values

This was a bit sloppy. In some cases, we had the config fiel lock,
but that that does not protect against config_Put*(). In some cases,
the lock was only taken for strings but not float/integers.
src/config/core.c
src/config/file.c