aboutsummaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-01-29 18:37:00 +0000
committerChristopher Faylor <me@cgf.cx>2002-01-29 18:37:00 +0000
commit1c2b9fe563e94a0de10369e52e059ebce95a3ae6 (patch)
treebb76630d85a51c9bdc6293c1b0539e6e01fc3b2a /winsup
parent562d97451a05bf26b1b9ea912939fd5b3dab3e9e (diff)
downloadnewlib-1c2b9fe563e94a0de10369e52e059ebce95a3ae6.zip
newlib-1c2b9fe563e94a0de10369e52e059ebce95a3ae6.tar.gz
newlib-1c2b9fe563e94a0de10369e52e059ebce95a3ae6.tar.bz2
* dump_setup.cc (parse_filename): Don't consider '_' part of the version.
Diffstat (limited to 'winsup')
-rw-r--r--winsup/utils/ChangeLog5
-rw-r--r--winsup/utils/dump_setup.cc2
2 files changed, 6 insertions, 1 deletions
diff --git a/winsup/utils/ChangeLog b/winsup/utils/ChangeLog
index 8fe1cf6..568b8b2 100644
--- a/winsup/utils/ChangeLog
+++ b/winsup/utils/ChangeLog
@@ -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
diff --git a/winsup/utils/dump_setup.cc b/winsup/utils/dump_setup.cc
index 59150c8..d551098 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;