critical impact:
openlog - incompatible return type (CrCh220)
Problem description
The return type for the openlog function is different on Tru64 UNIX and HP-UX.
The openlog function initializes the system log file if special processing is needed.
On Tru64 UNIX, openlog returns a value and sets
errno. It also has the following function prototype:
int openlog(const char *, int, int)
On HP-UX, openlog does not return any value. It also has the following function prototype:
void openlog(const char *, int, int) Identifiers
 openlog |
|
|
|
|
See also
Solution description
Review the applicable manpages and your code to determine if unexpected behavior will result.
See also
Problem summary
| classifications |
source types |
OS release |
severity |
type |
| SEC |
C, C++ |
any HP-UX 11i version |
critical |
changed |
|