Lines Matching refs:version
31 * the Free Software Foundation; either version 2 of the License, or
32 * (at your option) any later version.
465 static int strip_rcs_crap(char *version)
469 if (strncmp(version, "$Revision", strlen("$Revision")) != 0)
472 /* Space for version string follows. */
473 full_len = strlen(version) + strlen(version + strlen(version) + 1) + 2;
475 /* Move string to start with version number: prefix will be
478 if (version[len] == ':' || version[len] == '$')
480 while (isspace(version[len]))
482 memmove(version, version+len, full_len-len);
487 while (version[len] && !isspace(version[len]))
489 memmove(version + len, version + strlen(version),
490 full_len - strlen(version));
494 /* Clean up RCS-style version numbers. */
496 char *version,
500 if (strip_rcs_crap(version))
501 write_version(modfilename, version, version_offset);