Skip to Content.
Sympa Menu

sm-sorcery-bugs - [SM-Sorcery-Bugs] [Bug 12669] codex_does_spell_exist doesn't handle null/"" properly

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 12669] codex_does_spell_exist doesn't handle null/"" properly
  • Date: 11 Jun 2006 17:25:43 -0000

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





------- Additional Comments From acedit AT armory.com 2006-06-11 12:25 -------
If there are no arguments its better to check with $#. Also not that you coded
it this way but the $* silently drops all other empty strings. Its probably
better to warn about them as well. I'm submitting a fix that does both and
uses
"$@" in the loop. Theres several older functions that use $* instead of the
more
precise "$@", should probably fix all those at some point.

--
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