aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordrow <drow@94c539fb-cf18-0410-b60f-edeeb537fa16>2007-12-04 16:40:05 +0000
committerdrow <drow@94c539fb-cf18-0410-b60f-edeeb537fa16>2007-12-04 16:40:05 +0000
commit1acac959111c9c054a0ad3c3ebcb1ec4bf85ee26 (patch)
treedacfb6aa05214a370b54c55f2da7b616e19359dc
parentc5ffcaa049aa9980e24f05245fa8daedb7ef4a22 (diff)
downloadprelink-cross-1acac959111c9c054a0ad3c3ebcb1ec4bf85ee26.tar.gz
prelink-cross-1acac959111c9c054a0ad3c3ebcb1ec4bf85ee26.tar.bz2
prelink-cross-1acac959111c9c054a0ad3c3ebcb1ec4bf85ee26.zip
* gather.c (gather_object): Print an error if nftw64 fails.
git-svn-id: http://sourceware.org/svn/prelink@162 94c539fb-cf18-0410-b60f-edeeb537fa16
-rw-r--r--trunk/ChangeLog4
-rw-r--r--trunk/src/gather.c2
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;