tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: strsuftoi(3), strsuftou(3) proposal in libc
On Sun, Nov 01, 2015 at 06:26:25PM -0800, Alistair Crooks wrote:
> On another note, I do not want to have to distribute libnbcompat with any
> code I write. I also find requiring it to be present, just to compile stuff
> that I write, to be too onerous.
>
> Not in libc, please.
Whether it is in libc or not doesn't change anything for whether third
party stuff can use it. Hence it is irrelevant for the placement
question. The question for me is two fold:
(1) What consumers do we have? Is it used (internally) by any system
libraries?
(2) Can the existing functions be reasonably refactored to work on top
of the new function?
I don't think "we have to link every program against libutil" is a good
reason for not putting it their. A library consumer would be a much
stronger hint that libc is a good place. My approach to (2) would be to
still have the function in libutil, but provide a (hidden) copy in libc
with a note on the TODO list to move the existing stuff into libutil as
well.
Joerg
Home |
Main Index |
Thread Index |
Old Index