]> git.ipfire.org Git - thirdparty/fcron.git/commit
Fixed bug in logging to a file and made file closure more robust
authorThibault Godouet <yo8192@users.noreply.github.com>
Sun, 13 Jan 2013 17:31:17 +0000 (17:31 +0000)
committerThibault Godouet <yo8192@users.noreply.github.com>
Sun, 13 Jan 2013 17:31:17 +0000 (17:31 +0000)
commite7ec1f90db08384cc6acc457b90dd24bd0b2425c
tree5fee5bae3572e2c0aea072d2662d65dd151634a2
parent7f8187e703d36653c0173e1fc0c5a961741e52aa
Fixed bug in logging to a file and made file closure more robust
- when logging to a file, fcron would log a line to the pid file
- adding helpers functions to close files properly: check for errors, and set FILE* to NULL / fd to -1
18 files changed:
Makefile.in
allow.c
conf.c
convert-fcrontab.c
fcron.c
fcronconf.c
fcrondyn.c
fcronsighup.c
fcrontab.c
filesubs.c [new file with mode: 0644]
filesubs.h [new file with mode: 0644]
getloadavg.c
global.h
job.c
log.c
save.c
socket.c
subs.c