diff options
author | Joshua Judson Rosen <jrosen@harvestai.com> | 2014-05-20 01:02:20 -0400 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2014-06-02 03:11:40 +0200 |
commit | 9aa6ffb22b712d4e928604e291f954b02237e8cd (patch) | |
tree | ad606fe29c75f2acfdad5c2b328d56f911c3047e /util-linux/rtcwake.c | |
parent | b905d6c2eaaf7ad92a50dccc7b91ee19dd9424b7 (diff) | |
download | busybox-9aa6ffb22b712d4e928604e291f954b02237e8cd.tar.gz |
syslogd: Unify unlink/truncate + unlock log-rotation logic
Always unlink + reopen, rather than sometimes using ftruncate();
using a single code-path reduces the opportunity for either
mistakes or duplicate code.
Signed-off-by: Joshua Judson Rosen <jrosen@harvestai.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux/rtcwake.c')
0 files changed, 0 insertions, 0 deletions