From owner-freebsd-hackers Sun Oct 12 14:58:38 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA19539 for hackers-outgoing; Sun, 12 Oct 1997 14:58:38 -0700 (PDT) (envelope-from owner-freebsd-hackers) Received: from lsd.relcom.eu.net (lsd.relcom.eu.net [193.124.23.23]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA19522 for ; Sun, 12 Oct 1997 14:58:27 -0700 (PDT) (envelope-from ache@lsd.relcom.eu.net) Received: (from ache@localhost) by lsd.relcom.eu.net (8.8.7/8.8.7) id BAA07618; Mon, 13 Oct 1997 01:58:11 +0400 (MSD) (envelope-from ache) Date: Mon, 13 Oct 1997 01:58:10 +0400 (MSD) From: =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= X-Sender: ache@lsd.relcom.eu.net To: Terry Lambert cc: Mark Huizer , joerg_wunsch@uriah.heep.sax.de, freebsd-hackers@FreeBSD.ORG, denny1@home.com Subject: Re: wish /bin/sleep handled fractions of a second. In-Reply-To: <199710122018.NAA18736@usr05.primenet.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Sun, 12 Oct 1997, Terry Lambert wrote: > Yes. I prefer that someone else fix the man page after this patch is > committed. You broke /bin/sleep POSIXness with your patch (for .* fraction). Read about different sleep and usleep calls signal reaction. sleep supposed to exit immediately (POSIX requirement) while usleep not (traditional BSD). We need to fix usleep to do the same as sleep first to not break /bin/sleep -- Andrey A. Chernov http://www.nagual.pp.ru/~ache/