Newer versions of glibc use mmaped() backing for FILE* buffering.  the
syslog_L tests use stdio to read the log files.  syslogd is writing to
the files, but I don't think that a process that has it mmapped() will
see the writes as soon as they are available.

Could we try turning off buffering on those streams?

setvbuf(fp, NULL, _IONBF, 0)

(same for openlog)

Cheers,

Matt


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with subject of "unsubscribe". Trouble? Email [EMAIL PROTECTED]

Reply via email to