LSB.os/gentuts/syslog_L problems with mmaped() stdio
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 lsb-test-request@lists.linuxbase.org
with subject of "unsubscribe". Trouble? Email listmaster@lists.linuxbase.org
Reply to: