Skip to Content.
Sympa Menu

sm-sorcery-bugs - [SM-Sorcery-Bugs] [Bug 14620] Enable use_gcc() to recognize all versions above a certain version.

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 14620] Enable use_gcc() to recognize all versions above a certain version.
  • Date: 7 Aug 2008 20:06:42 -0000

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





--- Comment #5 from Jaka Kranjc <jakakranjc AT email.si> 2008-08-07 15:06:42 ---
-## @param gcc version (2.95. or 3.3.)
+## @param arg
That is the wierd part. ;) The description should be self-contained. For the
interval option, the comment should also stress the importance of the version
argument being a string literal in the full version form of xy.zw.ab+ or the
function could end up (re)matching the wrong bits. Another reason a proper
by-field comparison would be clearer, you're not enforcing it now.
Alternatively you could add a TEMP1 null check.

awk is part of our basesystem, so it is present everywhere. It is used in
sorcery in a dozen places already.

- ARG=${ARG#${TEMP1}} && ARG=${ARG#.}
+ ARG=${ARG#${TEMP1}.}


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




Archive powered by MHonArc 2.6.24.

Top of Page