| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Require Visual Studio 2015 or later; fail if we don't have it, and
remove checks for older versions.
That means we have C99-compliant snprintf() and vsnprintf(); require
them when configuring for UN*X, and then use them directly, rather than
having wrappers for systems lacking them.
If we're using MSVC, skip the tests for options to request C99
compatibility - either we have VS 2015, which is sufficient, or we
don't, in which case we fail.
|
|
|
|
| |
Add a copyright notice to rpcapd/log.{c,h} while we're at it.
|
|
|
|
| |
Needs more work; this should fix compile errors for now.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
That:
1) avoids doing any initialization if we end up logging to the
standard error
and
2) means that the first time we log to the "system log" we'll
attempt to initialize it, even if we've logged to the
standard error earlier.
|
|
That's what you want for daemons, as the standard error might not go
anywhere or, worse, might go to the control socket.
Also have a -D flag to control whether to log debug messages or not; the
default is "not".
|