summaryrefslogtreecommitdiffstats
path: root/lib/buffer.h
diff options
context:
space:
mode:
authorGergely Nagy <algernon@madhouse-project.org>2012-04-28 18:18:32 +0200
committerGergely Nagy <algernon@madhouse-project.org>2012-04-28 18:18:32 +0200
commit8cfef10830350c565e8ee917f83b9e97016a0a62 (patch)
tree32406caa5a85df767940c2d9b1fc1c94a8c617dd /lib/buffer.h
parent0a00d2b837d186c261d5bc31c08737e60cf4172b (diff)
Add a closelog() wrapper to clear the environment
Our openlog() wrapper fills in a couple of variables, and those were kept around even after a closelog(), and thus, affected ul_format() calls even after a closelog(). This in turn, made one of the test cases fail, as that was relying on the default behaviour, which was modified due to an openlog() in an earlier test case. We now wrap closelog() aswell, and NULL out our settings to get a clean state, and add a test case to verify this behaviour aswell. Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
Diffstat (limited to 'lib/buffer.h')
0 files changed, 0 insertions, 0 deletions