From 1c2b9fe563e94a0de10369e52e059ebce95a3ae6 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Tue, 29 Jan 2002 18:37:00 +0000 Subject: [PATCH] * dump_setup.cc (parse_filename): Don't consider '_' part of the version. --- winsup/utils/ChangeLog | 5 +++++ winsup/utils/dump_setup.cc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/winsup/utils/ChangeLog b/winsup/utils/ChangeLog index 8fe1cf61b..568b8b25a 100644 --- a/winsup/utils/ChangeLog +++ b/winsup/utils/ChangeLog @@ -1,3 +1,8 @@ +2002-01-29 Christopher Faylor + + * dump_setup.cc (parse_filename): Don't consider '_' part of the + version. + 2002-01-28 Christopher Faylor * cygcheck.cc: Fix typo. Remove uid_t kludge. Rely on kludge in diff --git a/winsup/utils/dump_setup.cc b/winsup/utils/dump_setup.cc index 59150c81e..d551098b9 100644 --- a/winsup/utils/dump_setup.cc +++ b/winsup/utils/dump_setup.cc @@ -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;