version 1.24, 2005/08/09 12:32:58 |
version 1.25, 2005/11/16 16:45:11 |
|
|
warnx("uid %u did not finish in time", pw->pw_uid); |
warnx("uid %u did not finish in time", pw->pw_uid); |
} |
} |
if (time(NULL) - t >= SECSPERDAY) |
if (time(NULL) - t >= SECSPERDAY) |
errx(2, "'calendar -a' took more than a day; stopped at uid %u", |
errx(2, "'calendar -a' took more than a day; " |
|
"stopped at uid %u", |
pw->pw_uid); |
pw->pw_uid); |
} |
} |
for (;;) { |
for (;;) { |
|
|
runningkids--; |
runningkids--; |
} |
} |
if (runningkids) |
if (runningkids) |
warnx( |
warnx("%d child processes still running when " |
"%d child processes still running when 'calendar -a' finished", runningkids); |
"'calendar -a' finished", runningkids); |
} |
} else if ((caldir = getenv("CALENDAR_DIR")) != NULL) { |
else if ((caldir = getenv("CALENDAR_DIR")) != NULL) { |
|
if(!chdir(caldir)) |
if(!chdir(caldir)) |
cal(); |
cal(); |
} else |
} else |