Mercurial > hg > aboriginal
view sources/patches/uClibc-shutupldd.patch @ 1839:c8293b3ab81f draft default tip
Teach chroot-splice to accept one or two arguments. (Control image now optional.)
author | Rob Landley <rob@landley.net> |
---|---|
date | Sun, 17 Jan 2016 21:18:52 -0600 |
parents | 9fdbf60e5543 |
children |
line wrap: on
line source
Prevent ldd from emitting a lot of spurious noise other implementations don't. diff -ru uClibc/utils/ldd.c uClibc.bak/utils/ldd.c --- uClibc/utils/ldd.c 2011-06-08 14:35:20.000000000 -0500 +++ uClibc.bak/utils/ldd.c 2011-09-15 16:20:48.739165013 -0500 @@ -263,7 +263,7 @@ return 0; if (stat(LDSO_CACHE, &st) || (fd = open(LDSO_CACHE, O_RDONLY)) < 0) { - fprintf(stderr, "ldd: can't open cache '%s'\n", LDSO_CACHE); + //fprintf(stderr, "ldd: can't open cache '%s'\n", LDSO_CACHE); cache_addr = (caddr_t) - 1; /* so we won't try again */ return -1; } @@ -773,7 +773,7 @@ for (cur = lib_list; cur; cur = cur->next) { if (cur->resolved == 0 && cur->path) { got_em_all = 1; - printf("checking sub-depends for '%s'\n", cur->path); + // printf("checking sub-depends for '%s'\n", cur->path); find_dependencies(cur->path); cur->resolved = 1; }