diff options
author | Vladislav Grishenko <themiron@mail.ru> | 2012-09-12 17:13:55 +0600 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2015-12-17 20:35:20 +0100 |
commit | 64917add7f4aeec8720d2fba5e96ea39aac35623 (patch) | |
tree | 48653a0e510b8c25c563688b90f92a63169352b7 /test/nptl/tst-sem9.c | |
parent | 8a992d6715c8149f7efc0553eeaf31f3e27de60c (diff) |
Fix syslog messages lost after syslogd restarts
If syslogd is stopped and restarted while a process has the log open, the next
message that process produces will be logged to the console and not to the new
instance of syslogd. Further messages will be routed correctly, but not the
first one.
Based on original patch
Bug 3889 - syslog loses messages when syslogd restarted
https://bugs.busybox.net/show_bug.cgi?id=3889
function old new delta
openlog 33 68 +35
__vsyslog 851 848 -3
openlog_intern 318 259 -59
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/2 up/down: 35/-62) Total: -27 bytes
Signed-off-by: Vladislav Grishenko <themiron@mail.ru>
Diffstat (limited to 'test/nptl/tst-sem9.c')
0 files changed, 0 insertions, 0 deletions