public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
* readlib.c includes wrong readelflib.c
@ 2005-12-21 12:50 Thorsten Kukuk
  2005-12-21 15:30 ` Ulrich Drepper
  0 siblings, 1 reply; 2+ messages in thread
From: Thorsten Kukuk @ 2005-12-21 12:50 UTC (permalink / raw)
  To: libc-hacker


Hi,

when debugging ldconfig on x86-64 I found out that readlib.c uses
#include "readelflib.c", which always uses the file in the local
directory and not the correct one from sysdeps:

2005-12-21  Thorsten Kukuk  <kukuk@suse.de>

	* elf/readlib.c: Fix include of readelflib.c.

--- elf/readlib.c	7 Dec 2005 05:47:27 -0000	1.17
+++ elf/readlib.c	21 Dec 2005 12:47:52 -0000
@@ -178,4 +178,4 @@
 }
 
 /* Get architecture specific version of process_elf_file.  */
-#include "readelflib.c"
+#include <readelflib.c>

-- 
Thorsten Kukuk         http://www.suse.de/~kukuk/      kukuk@suse.de
SUSE LINUX Products GmbH       Maxfeldstr. 5       D-90409 Nuernberg
--------------------------------------------------------------------    
Key fingerprint = A368 676B 5E1B 3E46 CFCE  2D97 F8FD 4E23 56C6 FB4B

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

* Re: readlib.c includes wrong readelflib.c
  2005-12-21 12:50 readlib.c includes wrong readelflib.c Thorsten Kukuk
@ 2005-12-21 15:30 ` Ulrich Drepper
  0 siblings, 0 replies; 2+ messages in thread
From: Ulrich Drepper @ 2005-12-21 15:30 UTC (permalink / raw)
  To: Thorsten Kukuk; +Cc: libc-hacker

Yes, that's needed.  And likely it's not the last problem of this kind.

-- 
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖

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

end of thread, other threads:[~2005-12-21 15:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-21 12:50 readlib.c includes wrong readelflib.c Thorsten Kukuk
2005-12-21 15:30 ` Ulrich Drepper

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).