Bug #320

Busybox beep implements delays wrong

Added by Ted Trask almost 2 years ago. Updated almost 2 years ago.

Status:Closed Start date:03/11/2010
Priority:Normal Due date:
Assignee:Natanael Copa % Done:

100%

Category:-
Target version:Alpine 1.10.1

Description

It appears that busybox beep does not implement delay. Or it doesn't implement it properly.

1. -d switch should allow definition of delay in ms, which applies between each beep (not after the last one)
2. When -d is not specified, there should be a default delay of 100 ms.

Proof: the following two commands do the same thing:
  • # /bin/busybox beep -d 1000 -f 1000 -r 2
  • # /bin/busybox beep -f 1000 -r 2

Tested against busybox-1.15.3-r1

Associated revisions

Revision 725cf120
Added by Natanael Copa almost 2 years ago

main/busybox: beep: fix -d option

fixes #320

Revision fce38ec5
Added by Natanael Copa almost 2 years ago

main/busybox: beep: fix -d option

fixes #320
(cherry picked from commit 725cf1202858d1f324e67f67c1f4a6c4fea783d5)

History

Updated by Natanael Copa almost 2 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Updated by Natanael Copa almost 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF