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

/freebsd-13-stable/usr.sbin/newsyslog/
H A Dnewsyslog.c1550 int dir_fd, i, logcnt, max_logcnt; local
1558 logcnt = 0;
1590 if ((oldlogs[logcnt].t = timegm(&tm)) == -1)
1592 if ((oldlogs[logcnt].fname = strdup(dp->d_name)) == NULL)
1594 logcnt++;
1601 if (logcnt >= max_logcnt) {
1604 if (max_logcnt < logcnt)
1614 if (logcnt > 0 && logcnt >= ent->numlogs && ent->numlogs > 1) {
1615 oldlogs = realloc(oldlogs, logcnt *
[all...]

Completed in 71 milliseconds