From owner-cvs-sbin Wed Jul 9 12:43:26 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id MAA03628 for cvs-sbin-outgoing; Wed, 9 Jul 1997 12:43:26 -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 MAA03477; Wed, 9 Jul 1997 12:40:50 -0700 (PDT) From: Julian Elischer Received: (from julian@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id MAA05655; Wed, 9 Jul 1997 12:40:45 -0700 (PDT) Date: Wed, 9 Jul 1997 12:40:45 -0700 (PDT) Message-Id: <199707091940.MAA05655@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 julian 1997/07/09 12:40:44 PDT Modified files: sbin/ping ping.c Log: ping called printf() from a signal handler.. this is a NO-NO re-arange to just set a "please die immediatly" flag in the signal handler and handle this in the normal thread. also handle ping -f better on slow links by backing off a bit when we get a ENOBUFFS from the sendto(). Revision Changes Path 1.22 +26 -5 src/sbin/ping/ping.c