aboutsummaryrefslogtreecommitdiff
path: root/miscutils/microcom.c
diff options
context:
space:
mode:
authorJoshua Judson Rosen <jrosen@harvestai.com>2014-05-20 01:02:20 -0400
committerDenys Vlasenko <vda.linux@googlemail.com>2014-06-02 03:11:40 +0200
commit9aa6ffb22b712d4e928604e291f954b02237e8cd (patch)
treead606fe29c75f2acfdad5c2b328d56f911c3047e /miscutils/microcom.c
parentb905d6c2eaaf7ad92a50dccc7b91ee19dd9424b7 (diff)
downloadbusybox-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 'miscutils/microcom.c')
0 files changed, 0 insertions, 0 deletions