public inbox for prelink@sourceware.org
 help / color / mirror / Atom feed
* More helpful error message during path walk
@ 2007-12-04 16:12 Daniel Jacobowitz
  2007-12-04 16:24 ` Jakub Jelinek
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Jacobowitz @ 2007-12-04 16:12 UTC (permalink / raw)
  To: prelink

I don't remember if I've sent this before, but I couldn't find a
record of it.  I was working on a filesystem where nftw64 failed
(maybe permissions?  bad symlink?  I don't remember, sorry), and
nothing eventually led to an error message.  So prelink failed to
prelink some files I expected it to, but didn't say why not.  The
obvious patch made it much clearer what was happening.

-- 
Daniel Jacobowitz
CodeSourcery

2007-04-30  Daniel Jacobowitz  <dan@codesourcery.com>

	* gather.c (gather_object): Print an error if nftw64 fails.

Index: gather.c
===================================================================
--- gather.c	(revision 152)
+++ gather.c	(working copy)
@@ -1004,6 +1004,8 @@ gather_object (const char *name, int der
       ++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;

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-12-04 16:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-04 16:12 More helpful error message during path walk Daniel Jacobowitz
2007-12-04 16:24 ` Jakub Jelinek
2007-12-04 16:43   ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).