syslogd: stop doing open/fstat/lseek/close on _every_ write
authorDenis Vlasenko <vda.linux@googlemail.com>
Thu, 4 Jan 2007 18:02:32 +0000 (18:02 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Thu, 4 Jan 2007 18:02:32 +0000 (18:02 -0000)
commitb8934971516d69086cf693a1a51acf649930ee64
tree381a3c9269bcc43b752b228dbe89532df6e6277e
parenta9b60e93eeb4d2706ebc95bafb18bd4267a03d6f
syslogd: stop doing open/fstat/lseek/close on _every_ write
(still doing it if more than a second passed in between).
Costs ~40 bytes.
sysklogd/syslogd.c