Branch: refs/heads/master
Home:
https://github.com/asalkeld/libqb
Commit: c69713e5f9b77cc266f5b626ebacc521d3c00e00
https://github.com/asalkeld/libqb/commit/c69713e5f9b77cc266f5b626ebacc521...
Author: Angus Salkeld <asalkeld(a)redhat.com>
Date: 2012-12-09 (Sun, 09 Dec 2012)
Changed paths:
M lib/log.c
M lib/log_format.c
M lib/log_int.h
Log Message:
-----------
Make sure we don't use the format string whilst it is getting changed.
Just add a rwlock around the usage.
Move qb_log_format_set() to log_format.c to make this easier.
Fixes #45
Signed-off-by: Angus Salkeld <asalkeld(a)redhat.com>