Skip to Content.
Sympa Menu

sm-sorcery-bugs - [SM-Sorcery-Bugs] [Bug 10588] providers selection is broken on timeout

sm-sorcery-bugs AT lists.ibiblio.org

Subject: Bugs for Sorcery are reported here

List archive

Chronological Thread  
  • From: bugzilla-daemon AT bugs.sourcemage.org
  • To: sm-sorcery-bugs AT lists.ibiblio.org
  • Subject: [SM-Sorcery-Bugs] [Bug 10588] providers selection is broken on timeout
  • Date: 27 Feb 2006 22:30:27 -0000

http://bugs.sourcemage.org/show_bug.cgi?id=10588





------- Additional Comments From BearPerson AT gmx.net 2006-02-27 16:30 -------
This bug is quite interesting.

To blame: libmisc::select_list_sub()

Bug: the variable "answer" is not declared local

Effect: when read times out (as opposed to being answered by enter or space)
it
/does not touch $answer at all/.
When there is a previous answer still stored in $answer, the default answer
does
not get used and we end up using the answer given to the last list selection.

Reproduction: cast mplayer with CVS support and let any but the first list
prompt timeout

Fix: either declare answer local or reset it before running read

--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




Archive powered by MHonArc 2.6.24.

Top of Page