1456
|
1 Prevent ldd from emitting a lot of spurious noise other implementations don't.
|
|
2
|
|
3 diff -ru uClibc/utils/ldd.c uClibc.bak/utils/ldd.c
|
|
4 --- uClibc/utils/ldd.c 2011-06-08 14:35:20.000000000 -0500
|
|
5 +++ uClibc.bak/utils/ldd.c 2011-09-15 16:20:48.739165013 -0500
|
|
6 @@ -263,7 +263,7 @@
|
|
7 return 0;
|
|
8
|
|
9 if (stat(LDSO_CACHE, &st) || (fd = open(LDSO_CACHE, O_RDONLY)) < 0) {
|
|
10 - fprintf(stderr, "ldd: can't open cache '%s'\n", LDSO_CACHE);
|
|
11 + //fprintf(stderr, "ldd: can't open cache '%s'\n", LDSO_CACHE);
|
|
12 cache_addr = (caddr_t) - 1; /* so we won't try again */
|
|
13 return -1;
|
|
14 }
|
|
15 @@ -773,7 +773,7 @@
|
|
16 for (cur = lib_list; cur; cur = cur->next) {
|
|
17 if (cur->resolved == 0 && cur->path) {
|
|
18 got_em_all = 1;
|
|
19 - printf("checking sub-depends for '%s'\n", cur->path);
|
|
20 + // printf("checking sub-depends for '%s'\n", cur->path);
|
|
21 find_dependencies(cur->path);
|
|
22 cur->resolved = 1;
|
|
23 }
|