files that have been sitting idle for a few years. Unfortunately
I can't gaurantee at the moment that these even compile let alone build.
Caveat Emptor
- The facility/priority has gone back to being of type int vice long;
the original change was a red herring.
- The current syslog implementation will now talk to Phil's original
syslogd, so only list the version zero protocol structure.
Changed some '0' constants to '0L'. Probably not necessary, but
consider it paranoia from earlier ORCA/C bugs.
sys/syslog.h:
These changes reflect the new implementation for syslog(3) and
friends. The biggest change is that the facility/priority (which
is encoded as a single number) requires 32 bits, so has been moved
from an int value to a long value.
This means that any programs using syslog(3) cannot merely be
relinked, but will need to be recompiled.
This file also contained various constants coded as bitshift
values, like (4<<3). ORCA/C can't handle this in the context
of a constant initializer, so these constants have been resolved
and changed to single hex values. The originals are left in
comments.
sys/uio.h:
- #include <sys/types.h> if it has not already been done.
- change the return value of readv/writev back from size_t to
ssize_t. I don't recall why they were originally changed,
given that they weren't implemented and BSD uses ssize_t.