mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-30 02:50:25 +08:00
* dump_setup.cc (package_find): Fix is_alias computation for "/usr/lib".
This commit is contained in:
parent
edd79f2da4
commit
14df41c155
@ -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.
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user