syslog_L 2
The test does a setlogmask(LOG_MASK(LOG_DEBUG|LOG_WARNING)). This does not
seem to be a valid way to call LOG_MASK in glibc; I don't know about POSIX.
glibc wants it to be called like this:
setlogmask(LOG_MASK(LOG_DEBUG)|LOG_MASK(LOG_WARNING))
Note that the log priorities are numbered, 0 through 7, and are so not
directly or'able. That's why LOG_MASK exists, no?
openlog_L calls setlogmask in the same way.
--
see shy jo
--
To UNSUBSCRIBE, email to lsb-test-request@lists.linuxbase.org
with subject of "unsubscribe". Trouble? Email listmaster@lists.linuxbase.org
Reply to: