Re: vsnprintf unnecessarily configures and builds vasnprintf.o etc.

2011-04-08 Thread Eric Blake
On 04/07/2011 04:02 AM, Bruno Haible wrote: > Hi Paul, > >> the gnulib code added quite a bit of of unnecessary work >> to configure and build vasnprintf.o, printf-parse.o, printf-args.o, >> and asnprintf.o. None of these object files were needed: they were put >> into libgnu.a but were not used b

Re: vsnprintf unnecessarily configures and builds vasnprintf.o etc.

2011-04-08 Thread Eric Blake
On 04/08/2011 03:58 AM, Simon Josefsson wrote: > Paul Eggert writes: > >> But that raises another problem. For Emacs, I'd like a variant of >> vasnprintf that uses Emacs's allocators rather than malloc/realloc/free. >> I could instead attack the problem by blocking interrupts while >> calling va

Re: vsnprintf unnecessarily configures and builds vasnprintf.o etc.

2011-04-08 Thread Simon Josefsson
Paul Eggert writes: > But that raises another problem. For Emacs, I'd like a variant of > vasnprintf that uses Emacs's allocators rather than malloc/realloc/free. > I could instead attack the problem by blocking interrupts while > calling vasnprintf, but I'd rather not add these extra system cal

Re: vsnprintf unnecessarily configures and builds vasnprintf.o etc.

2011-04-07 Thread Paul Eggert
On 04/07/2011 03:02 AM, Bruno Haible wrote: > Maybe if you present > a complete patch for the vasnprintf case, it will show in the daylight how > gnulib-tool should perform this extended dependency tracking? Thanks for your comments. I'll think about this, but in the meantime I've discovered that

Re: vsnprintf unnecessarily configures and builds vasnprintf.o etc.

2011-04-07 Thread Bruno Haible
Hi Paul, > the gnulib code added quite a bit of of unnecessary work > to configure and build vasnprintf.o, printf-parse.o, printf-args.o, > and asnprintf.o. None of these object files were needed: they were put > into libgnu.a but were not used by anybody. Additionally, when a shared library is b