[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS: cvs.openbsd.org: src

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