]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* ldlang.c (walk_wild): Allow * to glob '/' in wildcarded match.
authorNathan Sidwell <nathan@codesourcery.com>
Tue, 29 Aug 2006 11:09:04 +0000 (11:09 +0000)
committerNathan Sidwell <nathan@codesourcery.com>
Tue, 29 Aug 2006 11:09:04 +0000 (11:09 +0000)
ChangeLog.csl
ld/ldlang.c

index d011d37bb7bfbb8c06204a4f3a619c7930479378..c8980ee3e037fe7a1c65c74489edf94b19de5400 100644 (file)
@@ -1,3 +1,7 @@
+2006-08-29  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * ldlang.c (walk_wild): Allow * to glob '/' in wildcarded match.
+
 2006-08-29  Nathan Sidwell  <nathan@codesourcery.com>
 
        ld/
index 8764a70c358d981e5a8ce216d027cac6aa364cff..a51fb88b3c6a4a66d10c633293de983600b3d7f8 100644 (file)
@@ -669,7 +669,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);
        }
     }