[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS: cvs.openbsd.org: src
- To: source-changes_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org
- Subject: CVS: cvs.openbsd.org: src
- From: "Todd C. Miller" <millert_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org>
- Date: Mon, 12 May 2003 14:33:31 -0600 (MDT)
CVSROOT: /cvs
Module name: src
Changes by: millert_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org 2003/05/12 14:33:31
Modified files:
usr.sbin/cron : atrun.c
Log message:
feof() can only be used after you actually hit EOF so the check
for no output from the at command was busted. Instead of using
feof(), just fread() a buffer's worth and check to see if we
got anything back. Closes PR 3252.
Visit your host, monkey.org