Re: xalloc.h drags in dependencies

2009-11-16 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Jim Meyering on 11/14/2009 8:12 AM: >> * modules/xalloc (Depends-on): Add xsize. >> * lib/xalloc.h (xalloc_oversized): Move... >> * lib/xsize.h: ...here. > > Sorry, but if you really want to move it, I'd much prefer to > have it go to a c

Re: xalloc.h drags in dependencies

2009-11-14 Thread Jim Meyering
Eric Blake wrote: > I was surprised when I got a link failure when using the Solaris cc on > test-chown.c due to missing program_name, even though using gcc did just > fine. It turns out that mgetgroups.c uses xalloc_oversized from > "xalloc.h", which is only a macro and by itself drags nothing in