]> granicus.if.org Git - fcron/commit
Fixed bug in logging to a file and made file closure more robust
authorThibault Godouet <fcron@free.fr>
Sun, 13 Jan 2013 17:31:17 +0000 (17:31 +0000)
committerThibault Godouet <fcron@free.fr>
Sun, 13 Jan 2013 17:31:17 +0000 (17:31 +0000)
commit25e9c80848acb89e6320ed6261a4d1c75b60b1c8
tree5fee5bae3572e2c0aea072d2662d65dd151634a2
parent005363a2bc4d6f88356f440dfc689b79918c55a4
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