do not add + to test versions

This commit is contained in:
2015-10-09 15:56:50 +02:00
parent d3a3e4c420
commit 4fc7241764
+4 -2
View File
@@ -748,8 +748,10 @@ static int handleDependencies(const char* module, char* depfilename)
end = rversion;
/* find end of version */
while (*end && !isspace((unsigned char)*end)) end++;
/* add + if not yet there */
if (*(end-1) != '+') *end++ = '+';
/* add + to numerial versions if not yet there */
if (*(end-1) != '+' && strspn(rversion, "0123456789.") == end-rversion) *end++ = '+';
/* terminate version */
*end = 0;
printf("Module %s depends on %s %s\n", module, rmodule, rversion);