-
- /* scan for trailing release */
- int n;
- n = strlen(v->str) - 1;
- if (n > 0 && isdigit(v->str[n])) {
- while (isdigit(v->str[n])) {
- n--;
- }
- if (s[n] == '-') {
- v->relstr = v->str + n;
- v->release = atoi(v->str + n + 1);
- v->str[n] = 0;
- }
- }
-