On 04/26/2011 07:28 PM, Eric Blake wrote: > On 04/26/2011 05:35 PM, Eric Blake wrote: >> Ever since commit 2392b18099, fdopendir no longer drags in xalloc-die >> through indirect dependencies, so this test no longer needs $(LIBINTL). >> >> * modules/dirent-safer-tests (Makefile.am): Drop stale LDADD. > > NAK to this patch (but that doesn't affect the other 8 in the series).
Actually, this works, but fdopendir-tests, and possibly a few others, should also drop LDADD. > In isolation, test-dirent-safer doesn't use fdopendir; but with > dirent-safer and fdopendir used at the same time, then xalloc is still > being pulled in. That is, commit 2392b18 dropped xalloc-die for openat, > but fdopendir is using more than openat and still dragging in xalloc > through some other path. > > [Hmm, './gnulib-tool --test openat' excludes xalloc-die, but > './gnulib-tool --test --with-tests openat' pulls it in - I'm still > investigating...] Found it. mgetgroups is pulling in xalloc for the xgetgroups() function, when the two should really be separated into two different modules and only xgetgroups pull in xalloc. -- Eric Blake ebl...@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature