aboutsummaryrefslogtreecommitdiff
path: root/math/atlas
diff options
context:
space:
mode:
Diffstat (limited to 'math/atlas')
-rw-r--r--math/atlas/files/patch-config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/math/atlas/files/patch-config.c b/math/atlas/files/patch-config.c
index c176e88b7061..a4719e876361 100644
--- a/math/atlas/files/patch-config.c
+++ b/math/atlas/files/patch-config.c
@@ -5,8 +5,8 @@
if (CmndOneLine(NULL, ln, ln2) == 0)
{
- *major = GetIntVers(ln2, &j);
-+ j=0; if(isalpha(ln2[0])){for(i=0;!isspace(ln2[i]);i++)j++;} /* skip gccXXX ; XXX is number */
-+ for (i=0; !isdigit(ln2[i]); i++) j++;
++ j=0;if(isalpha(ln2[0])){for(i=0;!isspace(ln2[i]);i++)j++;} /*skip gccXXX ; XXX is number*/
++ for (i=j; !isdigit(ln2[i]); i++) j++;
+ *major = GetIntVers(ln2+j, &i); j += i;
if (*major != -1)
{