From owner-cvs-usrbin Thu Jul 4 17:07:00 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA20809 for cvs-usrbin-outgoing; Thu, 4 Jul 1996 17:07:00 -0700 (PDT) Received: (from jmz@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA20766; Thu, 4 Jul 1996 17:06:38 -0700 (PDT) Date: Thu, 4 Jul 1996 17:06:38 -0700 (PDT) From: Jean-Marc Zucconi Message-Id: <199607050006.RAA20766@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrbin Subject: cvs commit: src/usr.bin/fetch main.c Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jmz 96/07/04 17:06:37 Modified: usr.bin/fetch main.c Log: Back out previous commit: do not use read(), but fread (). Change BUFFER_SIZE to 1K to avoid waiting too long between 2 progress reports in the case of a slow transfer. Move the signal()/setitimer() code just before the read loop because the ftpio library set and reset the timer internally. Revision Changes Path 1.8 +11 -11 src/usr.bin/fetch/main.c