From owner-cvs-lib Wed Oct 15 07:07:51 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id HAA16850 for cvs-lib-outgoing; Wed, 15 Oct 1997 07:07:51 -0700 (PDT) (envelope-from owner-cvs-lib) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id HAA16783; Wed, 15 Oct 1997 07:07:19 -0700 (PDT) (envelope-from peter@FreeBSD.org) From: Peter Wemm Received: (from peter@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id HAA25867; Wed, 15 Oct 1997 07:06:17 -0700 (PDT) Date: Wed, 15 Oct 1997 07:06:17 -0700 (PDT) Message-Id: <199710151406.HAA25867@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: cvs commit: src/lib/libc/gen sleep.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 1997/10/15 07:06:16 PDT Modified files: lib/libc/gen sleep.c Log: Give up on the "try and compensate for broken programs" cruft and revert back to the original single nanosleep() implementation. This is POSIX and Unix98 (aka single-unix spec v2) compliant behavior. If a program sets alarm(2) or an interval timer (setitimer(2)) without a SIGALRM handler being active, sleep(3) will no longer absorb it, and the program will get what it asked for..... :-] The original reason for this in the first place (apache) doesn't seem to need it anymore, according to Andrey. Reviewed by: ache, bde Revision Changes Path 1.19 +0 -70 src/lib/libc/gen/sleep.c