From 14df41c15528d18f057945f6d4d89005918f521c Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Mon, 19 Dec 2005 16:58:33 +0000 Subject: [PATCH] * dump_setup.cc (package_find): Fix is_alias computation for "/usr/lib". --- winsup/utils/ChangeLog | 4 ++++ winsup/utils/dump_setup.cc | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/winsup/utils/ChangeLog b/winsup/utils/ChangeLog index 19517cdab..7eaab3bf5 100644 --- a/winsup/utils/ChangeLog +++ b/winsup/utils/ChangeLog @@ -1,3 +1,7 @@ +2005-12-19 Igor Pechtchanski + + * dump_setup.cc (package_find): Fix is_alias computation for "/usr/lib". + 2005-12-14 Christopher Faylor * cygcheck.cc (common_apps): Add a few more binaries to look for. diff --git a/winsup/utils/dump_setup.cc b/winsup/utils/dump_setup.cc index 855fcf043..9594eb1d5 100644 --- a/winsup/utils/dump_setup.cc +++ b/winsup/utils/dump_setup.cc @@ -478,7 +478,7 @@ package_find (int verbose, char **argv) { // FIXME: verify that /bin is mounted on /usr/bin; ditto for /lib bool is_alias = !strncmp(filename, "/usr/bin/", 9) || - !strncmp(filename, "/usr/lib", 9); + !strncmp(filename, "/usr/lib/", 9); int a = match_argv (argv, filename); if (!a && is_alias) a = match_argv (argv, filename + 4);