From owner-freebsd-bugs Thu Sep 28 18: 0:22 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 45FB037B424 for ; Thu, 28 Sep 2000 18:00:04 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id SAA76132; Thu, 28 Sep 2000 18:00:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from enzo.vangyzen.net (GRN-TNT1-pool2-60.coastalnet.com [216.10.167.60]) by hub.freebsd.org (Postfix) with ESMTP id 71CAC37B422 for ; Thu, 28 Sep 2000 17:57:48 -0700 (PDT) Received: from hiro.vangyzen.net (hiro.vangyzen.net [192.168.1.3]) by enzo.vangyzen.net (8.11.0/8.9.3) with ESMTP id e8T0vjh00635 for ; Thu, 28 Sep 2000 20:57:46 -0400 (EDT) (envelope-from vangyzen@hiro.vangyzen.net) Received: (from vangyzen@localhost) by hiro.vangyzen.net (8.11.0/8.9.3) id e8T0vqQ05242; Thu, 28 Sep 2000 20:57:52 -0400 (EDT) (envelope-from vangyzen) Message-Id: <200009290057.e8T0vqQ05242@hiro.vangyzen.net> Date: Thu, 28 Sep 2000 20:57:52 -0400 (EDT) From: eric@vangyzen.net Reply-To: eric@vangyzen.net To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: misc/21634: worms(6) ignores -d option Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 21634 >Category: misc >Synopsis: worms(6) ignores -d option >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Sep 28 18:00:04 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Eric S. Van Gyzen >Release: FreeBSD 4.1.1-STABLE i386 >Organization: >Environment: FreeBSD 4.1.1-STABLE i386 XFree86 3.3.6 xterm >Description: worms(6) does nothing productive with the -d argument. >How-To-Repeat: Compare the animation speed of the following: % /usr/games/worms % /usr/games/worms -d 1000 Note the lack of a difference. >Fix: Apply the following patch: --- src/games/worms/worms.c.orig Thu Sep 28 20:53:21 2000 +++ src/games/worms/worms.c Thu Sep 28 20:53:54 2000 @@ -328,6 +328,8 @@ flavor[n % sizeof(flavor)]); ref[w->ypos[h] = y][w->xpos[h] = x]++; } + if (usleep(delay)) + onsig(SIGTERM); } } >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message