* dump_setup.cc (parse_filename): Don't consider '_' part of the version.

This commit is contained in:
Christopher Faylor 2002-01-29 18:37:00 +00:00
parent 562d97451a
commit 1c2b9fe563
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2002-01-29 Christopher Faylor <cgf@redhat.com>
* dump_setup.cc (parse_filename): Don't consider '_' part of the
version.
2002-01-28 Christopher Faylor <cgf@redhat.com>
* cygcheck.cc: Fix typo. Remove uid_t kludge. Rely on kludge in

View File

@ -80,7 +80,7 @@ parse_filename (const char *in_fn, fileparse& f)
f.pkg[0] = f.what[0] = '\0';
p = base (fn);
for (ver = p; *ver; ver++)
if (*ver == '-' || *ver == '_')
if (*ver == '-')
if (isdigit (ver[1]))
{
*ver++ = 0;