Searched refs:logcnt (Results 1 - 1 of 1) sorted by relevance

/freebsd-current/usr.sbin/newsyslog/
H A Dnewsyslog.c1676 int dir_fd, i, logcnt, max_logcnt; local
1684 logcnt = 0;
1716 if ((oldlogs[logcnt].t = timegm(&tm)) == -1)
1718 if ((oldlogs[logcnt].fname = strdup(dp->d_name)) == NULL)
1720 logcnt++;
1727 if (logcnt >= max_logcnt) {
1730 if (max_logcnt < logcnt)
1740 if (logcnt > 0 && logcnt >= ent->numlogs && ent->numlogs > 1) {
1741 oldlogs = realloc(oldlogs, logcnt *
[all...]

Completed in 65 milliseconds