From owner-freebsd-bugs Sun Aug 10 02:00:06 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id CAA11615 for bugs-outgoing; Sun, 10 Aug 1997 02:00:06 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id CAA11604; Sun, 10 Aug 1997 02:00:03 -0700 (PDT) Resent-Date: Sun, 10 Aug 1997 02:00:03 -0700 (PDT) Resent-Message-Id: <199708100900.CAA11604@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, j@uriah.heep.sax.de Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id BAA11107 for ; Sun, 10 Aug 1997 01:51:38 -0700 (PDT) Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id KAA05434 for FreeBSD-gnats-submit@freebsd.org; Sun, 10 Aug 1997 10:51:33 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.8.7/8.8.5) id KAA01086; Sun, 10 Aug 1997 10:26:43 +0200 (MET DST) Message-Id: <199708100826.KAA01086@uriah.heep.sax.de> Date: Sun, 10 Aug 1997 10:26:43 +0200 (MET DST) From: J Wunsch Reply-To: j@uriah.heep.sax.de To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: bin/4259: sleep(3) broken for large values Sender: owner-freebsd-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Number: 4259 >Category: bin >Synopsis: sleep(3) broken for large values >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Aug 10 02:00:02 PDT 1997 >Last-Modified: >Originator: J Wunsch >Organization: >Release: FreeBSD 3.0-CURRENT i386 >Environment: -current as of yesterday. >Description: sleep(3) is now broken for arguments > 100000000 seconds (threshold found empirically); it returns immediately in this case. Among others, this breaks perl(1)'s `sleep' instruction when being used without any argument (since this will call sleep(0xffffffff)). >How-To-Repeat: perl -e sleep This is not supposed to finish in the forseeable future, but immediately returns you to the command prompt. >Fix: Not yet known. >Audit-Trail: >Unformatted: