Skip to Content.
Sympa Menu

sm-sorcery-bugs - [SM-Sorcery-Bugs] [Bug 8738] New: Cast doesn't like parameters with spaces in them

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 8738] New: Cast doesn't like parameters with spaces in them
  • Date: Thu, 28 Apr 2005 02:21:57 -0700 (PDT)

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

Summary: Cast doesn't like parameters with spaces in them
Product: Sorcery
Version: 1.12.x
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Cast
AssignedTo: sm-sorcery-bugs AT lists.ibiblio.org
ReportedBy: otom7630 AT lucy.troja.mff.cuni.cz


I just tried to cast a spell (xpdf in this case but I don't think it matters)
with specific CFLAGS via --cflags option, and it only displayed usage
information as if I used incorrect syntax. The problem is that function which
parses the parameters gets passed arguments as $*, which separates each
space-delimited token as separate argument, when in fact --cflags "flag1 flag2
flag3" should be passed only as two arguments (one --cflags, one list of
flags).
Obvious solution is to use "$@" instead of $*. Patch attached. If there is
some
reason for current syntax, please enlighten me and I will try to find another
way to fix it :)

Andy

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



  • [SM-Sorcery-Bugs] [Bug 8738] New: Cast doesn't like parameters with spaces in them, bugzilla-daemon, 04/28/2005

Archive powered by MHonArc 2.6.24.

Top of Page