Date: Sun, 10 Aug 1997 10:26:43 +0200 (MET DST) From: J Wunsch <j@uriah.heep.sax.de> To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: bin/4259: sleep(3) broken for large values Message-ID: <199708100826.KAA01086@uriah.heep.sax.de> Resent-Message-ID: <199708100900.CAA11604@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199708100826.KAA01086>