Re: syslog_L 2
hi Chris
Not sure if this is relevant but
there is a bug in one of the examples in SUSv3
regards
Andrew
Page: 210 Line: 7122 Section: closelog
Problem:
Defect code : 1. Error
(page and line numbers are for the ft [finaltext] document)
This is about the EXAMPLE, "Using setlogmask()"
The call is incorrect. The values for priority
are numbers in the range 0-7 and LOG_MASK(prio), that is,
1<<prio, converts the priority into a mask.
On the other hand, the facilities already are maskbits,
so that calling LOG_MASK on a facility is nonsense, and leads
to compiler error messages:
WARNING The indicated shift count is too large.
Action:
Remove the "| LOG_USER" part from the call in line 7122.
Remove the "or ... processes," from lines 7118-7119.
buglist at
http://www.opengroup.org/austin/aardvark/finaltext/
--
To UNSUBSCRIBE, email to lsb-test-request@lists.linuxbase.org
with subject of "unsubscribe". Trouble? Email listmaster@lists.linuxbase.org
Reply to: