libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Remove deps on *printf(3) in libltdl


From: Albert Chin
Subject: Re: Remove deps on *printf(3) in libltdl
Date: Tue, 21 Dec 2004 09:53:37 -0600
User-agent: Mutt/1.5.6i

On Tue, Dec 21, 2004 at 10:24:34AM +0100, Ralf Wildenhues wrote:
> As announced some time ago, I'd like to get rid of *printf in libltdl.
> This is primarily an advantage for small-sized software.  With static
> dietlibc on linux-x86, I can get an executable using libltdl at about
> 20K stripped size, which is not great, but a third less than without
> this patch (this is including all libc functions, of course!).
> 
> Another side not is in place here, since I do not make use of strl*:
> With allocated buffers of precomputed size, there can be no overflow
> (unless you compute wrongly, of course).  I do not see much value in
> safeguarding what would otherwise be a bug anyway.  YMMV.
> 
> OK to apply to HEAD?

Are people really going to remember this for new code? Seems like
over-optimization to me.

-- 
albert chin (address@hidden)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]