Changeset View
Changeset View
Standalone View
Standalone View
head/contrib/ntp/lib/isc/log.c
Show First 20 Lines • Show All 1,140 Lines • ▼ Show 20 Lines | |||||
} | } | ||||
static isc_result_t | static isc_result_t | ||||
greatest_version(isc_logchannel_t *channel, int *greatestp) { | greatest_version(isc_logchannel_t *channel, int *greatestp) { | ||||
/* XXXDCL HIGHLY NT */ | /* XXXDCL HIGHLY NT */ | ||||
char *basenam, *digit_end; | char *basenam, *digit_end; | ||||
const char *dirname; | const char *dirname; | ||||
int version, greatest = -1; | int version, greatest = -1; | ||||
unsigned int basenamelen; | size_t basenamelen; | ||||
isc_dir_t dir; | isc_dir_t dir; | ||||
isc_result_t result; | isc_result_t result; | ||||
char sep = '/'; | char sep = '/'; | ||||
#ifdef _WIN32 | #ifdef _WIN32 | ||||
char *basename2; | char *basename2; | ||||
#endif | #endif | ||||
REQUIRE(channel->type == ISC_LOG_TOFILE); | REQUIRE(channel->type == ISC_LOG_TOFILE); | ||||
▲ Show 20 Lines • Show All 610 Lines • Show Last 20 Lines |