From owner-cvs-lib Sun May 18 02:07:51 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id CAA21397 for cvs-lib-outgoing; Sun, 18 May 1997 02:07:51 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id CAA21388; Sun, 18 May 1997 02:07:35 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.5/8.6.9) id TAA31228; Sun, 18 May 1997 19:01:25 +1000 Date: Sun, 18 May 1997 19:01:25 +1000 From: Bruce Evans Message-Id: <199705180901.TAA31228@godzilla.zeta.org.au> To: bde@zeta.org.au, peter@spinner.dialix.com Subject: Re: cvs commit: src/lib/libc/gen sleep.c Cc: ache@nagual.pp.ru, cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-lib@FreeBSD.ORG, peter@FreeBSD.ORG Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Hmm. Perhaps install a temporary dummy SIGALRM handler in the sleep.c stub >so that it doesn't die if there isn't one. The old setitimer way doesn't >mess with alarm(2), using nanosleep() wont change that. Why would a program generate alarms without installing an alarm handler? Perhaps buggy programs do install one but expect it not to be invoked during sleep(). Bruce