This is the mail archive of the libc-hacker@sourceware.cygnus.com 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] |
This is a patch for ldconfig, so that you don't get "unknown" when printing the cache and the entry contains some flags in addition to the type (FLAG_SPARC_LIB64 or FLAG_IA64_LIB64). Andreas. 2000-04-04 Andreas Schwab <schwab@suse.de> * elf/cache.c (print_entry): Only look at the type field when printing the type. Index: cache.c =================================================================== RCS file: /cvs/glibc/libc/elf/cache.c,v retrieving revision 1.1 diff -u -a -u -r1.1 cache.c --- cache.c 1999/12/04 07:57:26 1.1 +++ cache.c 2000/04/04 14:27:00 @@ -72,7 +72,7 @@ print_entry (const char *lib, int flag, const char *key) { printf ("\t%s (", lib); - switch (flag) + switch (flag & FLAG_TYPE_MASK) { case FLAG_LIBC4: case FLAG_ELF: -- Andreas Schwab "And now for something SuSE Labs completely different." Andreas.Schwab@suse.de SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |