On 12/11/2011 02:37:02 PM, Gert Doering wrote: > Of course nobody wants to reimplement all library functions (except > djb, maybe, but we do not want to go there), but given some functions > with sufficiently vague or messy calling semantics, having a better > defined local implementation can improvide the code a lot.
I'm sorry if this is injecting noise into the conversation but I cannot resist commenting. I don't know the answer, but I do know the question: Improve the code when? The old adage is "standard is better than better" comes to mind. If the code is calling basename all the time then it makes sense to improve it. If we're talking about saving a few microseconds here or there on startup or shutdown I'd question whether yet another interface, better or not, makes sense. Likewise, if there's a problem that needs to be fixed, say, people are introducing bugs, then by all means it needs fixing. Otherwise, if it ain't broke.... Regards, Karl <k...@meme.com> Free Software: "You don't pay back, you pay forward." -- Robert A. Heinlein