From owner-cvs-all Wed Jul 12 4: 2: 6 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id C733937BD7E; Wed, 12 Jul 2000 04:02:01 -0700 (PDT) (envelope-from des@FreeBSD.org) Received: (from des@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id EAA12240; Wed, 12 Jul 2000 04:02:01 -0700 (PDT) (envelope-from des@FreeBSD.org) Message-Id: <200007121102.EAA12240@freefall.freebsd.org> From: Dag-Erling Smorgrav Date: Wed, 12 Jul 2000 04:02:01 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/fetch fetch.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG des 2000/07/12 04:02:01 PDT Modified files: usr.bin/fetch fetch.c Log: Now that the HTTP code supports timeouts, we don't need to use alarm() around the call to fetchStat(). Catch SIGINT, and rework the signal handling so it doesn't skimp on the cleanup after a timeout or interrupt. Also, don't just bail out after a timeout; there may be more files to fetch. Revision Changes Path 1.7 +30 -17 src/usr.bin/fetch/fetch.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message