Deleted Added
full compact
log.c (290000) log.c (293894)
1/*
2 * Copyright (C) 2004-2007, 2009, 2011, 2012 Internet Systems Consortium, Inc. ("ISC")
3 * Copyright (C) 1999-2003 Internet Software Consortium.
4 *
5 * Permission to use, copy, modify, and/or distribute this software for any
6 * purpose with or without fee is hereby granted, provided that the above
7 * copyright notice and this permission notice appear in all copies.
8 *

--- 1132 unchanged lines hidden (view full) ---

1141}
1142
1143static isc_result_t
1144greatest_version(isc_logchannel_t *channel, int *greatestp) {
1145 /* XXXDCL HIGHLY NT */
1146 char *basenam, *digit_end;
1147 const char *dirname;
1148 int version, greatest = -1;
1/*
2 * Copyright (C) 2004-2007, 2009, 2011, 2012 Internet Systems Consortium, Inc. ("ISC")
3 * Copyright (C) 1999-2003 Internet Software Consortium.
4 *
5 * Permission to use, copy, modify, and/or distribute this software for any
6 * purpose with or without fee is hereby granted, provided that the above
7 * copyright notice and this permission notice appear in all copies.
8 *

--- 1132 unchanged lines hidden (view full) ---

1141}
1142
1143static isc_result_t
1144greatest_version(isc_logchannel_t *channel, int *greatestp) {
1145 /* XXXDCL HIGHLY NT */
1146 char *basenam, *digit_end;
1147 const char *dirname;
1148 int version, greatest = -1;
1149 unsigned int basenamelen;
1149 size_t basenamelen;
1150 isc_dir_t dir;
1151 isc_result_t result;
1152 char sep = '/';
1153#ifdef _WIN32
1154 char *basename2;
1155#endif
1156
1157 REQUIRE(channel->type == ISC_LOG_TOFILE);

--- 610 unchanged lines hidden ---
1150 isc_dir_t dir;
1151 isc_result_t result;
1152 char sep = '/';
1153#ifdef _WIN32
1154 char *basename2;
1155#endif
1156
1157 REQUIRE(channel->type == ISC_LOG_TOFILE);

--- 610 unchanged lines hidden ---