From owner-cvs-sbin Sat Jul 12 23:18:06 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id XAA07657 for cvs-sbin-outgoing; Sat, 12 Jul 1997 23:18:06 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id XAA07630; Sat, 12 Jul 1997 23:17:20 -0700 (PDT) From: Sean Eric Fagan Received: (from sef@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id XAA07078; Sat, 12 Jul 1997 23:16:46 -0700 (PDT) Date: Sat, 12 Jul 1997 23:16:46 -0700 (PDT) Message-Id: <199707130616.XAA07078@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sbin@FreeBSD.ORG Subject: cvs commit: src/sbin/ping ping.c Sender: owner-cvs-sbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk sef 1997/07/12 23:16:46 PDT Modified files: sbin/ping ping.c Log: Fix a problem introduced with a recent change that caused a hang with unreachable hosts. Note that most of this consists of telling SIGINT and SIGALRM to interrupt the system call, instead of restarting them. Also try to get rid of some potential races Bruce didn't like; hopefully they aren't a problem (potential or otherwise) now. Reviewed by: julian Revision Changes Path 1.24 +28 -10 src/sbin/ping/ping.c