This is the mail archive of the libc-hacker@sourceware.org mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

readlib.c includes wrong readelflib.c


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]