* ldlang.c (walk_wild): Allow * to glob '/' in wildcarded match.
This commit is contained in:
parent
a0c4652421
commit
68bbb9f788
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2006-08-29 Nathan Sidwell <nathan@codesourcery.com>
|
||||
|
||||
* ldlang.c (walk_wild): Allow * to glob '/' in wildcarded match.
|
||||
|
||||
2006-08-28 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* scripttempl/elf.sc: Ensure that crtbegin and crtend entries will
|
||||
|
|
|
@ -791,7 +791,7 @@ walk_wild (lang_wild_statement_type *s, callback_t callback, void *data)
|
|||
{
|
||||
LANG_FOR_EACH_INPUT_STATEMENT (f)
|
||||
{
|
||||
if (fnmatch (file_spec, f->filename, FNM_FILE_NAME) == 0)
|
||||
if (fnmatch (file_spec, f->filename, 0) == 0)
|
||||
walk_wild_file (s, f, callback, data);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue