* dump_setup.cc (package_find): Fix is_alias computation for "/usr/lib".

This commit is contained in:
Corinna Vinschen 2005-12-19 16:58:33 +00:00
parent edd79f2da4
commit 14df41c155
2 changed files with 5 additions and 1 deletions

View File

@ -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.

View File

@ -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);