diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2005-12-19 16:58:33 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2005-12-19 16:58:33 +0000 |
commit | 14df41c15528d18f057945f6d4d89005918f521c (patch) | |
tree | e1521d62bec04c40751dcc4fe77ff545bd1b41da | |
parent | edd79f2da45f17df775dac03ff67a5844ed1a635 (diff) | |
download | newlib-14df41c15528d18f057945f6d4d89005918f521c.zip newlib-14df41c15528d18f057945f6d4d89005918f521c.tar.gz newlib-14df41c15528d18f057945f6d4d89005918f521c.tar.bz2 |
* dump_setup.cc (package_find): Fix is_alias computation for "/usr/lib".
-rw-r--r-- | winsup/utils/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/utils/dump_setup.cc | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/winsup/utils/ChangeLog b/winsup/utils/ChangeLog index 19517cd..7eaab3b 100644 --- a/winsup/utils/ChangeLog +++ b/winsup/utils/ChangeLog @@ -1,3 +1,7 @@ +2005-12-19 Igor Pechtchanski <pechtcha@cs.nyu.edu> + + * dump_setup.cc (package_find): Fix is_alias computation for "/usr/lib". + 2005-12-14 Christopher Faylor <cgf@timesys.com> * 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 855fcf0..9594eb1 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); |