On Thu, Jun 7, 2018 at 12:34 AM Nan Xiao <n...@chinadtrace.org> wrote:

> I think maybe one snprintf is more efficient and concise. Sorry if I am
> wrong, thanks!

Seems unlikely.  More productive would be to go up a level and look at
whether concat() is carrying its weight as an abstraction.  One of the
calls is completely superfluous, to my eye.

But really, ldconfig is pretty uninteresting, being run very, very rarely,
so polishing it is like sanding the rough spots on the bottoms of table
legs, where they touch the floor.  We've spent more cycles talking about it
then it'll use in a year...

Philip Guenther

Reply via email to