diff options
-rw-r--r-- | trunk/ChangeLog | 4 | ||||
-rw-r--r-- | trunk/src/gather.c | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/trunk/ChangeLog b/trunk/ChangeLog index f8cb201..35b4fa0 100644 --- a/trunk/ChangeLog +++ b/trunk/ChangeLog @@ -1,3 +1,7 @@ +2007-12-04 Daniel Jacobowitz <dan@codesourcery.com> + + * gather.c (gather_object): Print an error if nftw64 fails. + 2007-10-09 Jakub Jelinek <jakub@redhat.com> * src/cxx.c (remove_redundant_cxx_conflicts): Allow .sdata diff --git a/trunk/src/gather.c b/trunk/src/gather.c index b9a4632..2752e4b 100644 --- a/trunk/src/gather.c +++ b/trunk/src/gather.c @@ -1004,6 +1004,8 @@ gather_object (const char *name, int deref, int onefs) ++implicit; ret = nftw64 (name, gather_func, 20, flags | FTW_ACTIONRETVAL); --implicit; + if (ret < 0) + error (0, errno, "Failed searching %s", name); #ifndef HAVE_FTW_ACTIONRETVAL free (blacklist_dir); blacklist_dir = NULL; |