Bug 23282 - worms(6) does not honor -d (delay) flag
Summary: worms(6) does not honor -d (delay) flag
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-12-04 21:00 UTC by rombout
Modified: 2000-12-05 17:58 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rombout 2000-12-04 21:00:01 UTC
worms(6) does not delay (see source code).

Fix: 

add usleep(delay) around line 287 (after the for(;;)
How-To-Repeat: worms -d 1000 is no different than worms -d 0
Comment 1 Johan Karlsson freebsd_committer freebsd_triage 2000-12-05 17:56:50 UTC
State Changed
From-To: open->closed

Duplicate of PR 21634 
http://www.freebsd.org/cgi/query-pr.cgi?pr=21634 

The patch is that PR has been comitted both to -current and -stable.