tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Add reallocarray(3) and strtonum(3) to lib/libc/include/namespace.h
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On 26.07.2015 19:00, David Holland wrote:
> On Sun, Jul 26, 2015 at 04:35:50AM +0200, Kamil Rytarowski wrote:
>>>> I would like to add the OpenBSD functions to
>>>> lib/libc/include/namespace. h.
>>>>
>>>> The reasoning is that it seems correct as other libc
>>>> functions are there as well.
>>>
>>> They are not used internally by libc so this is not needed...
>>
>> They are used externally.
>
> The purpose of namespace.h (which is internal to libc) is so that
> calls from libc to things that are supposed to be libc functions,
> but are nonstandard, aren't disrupted when programs provide their
> own symbols with the same names. If there aren't internal uses in
> libc, namespace.h has no effect.
>
>> Our base utilities and external utilities of our users depend on
>> it. I want to be prepared for possible drop of these functions in
>> case of obsoleting it upstream (in OpenBSD) or adaption for
>> change of its signature.
>
> namespace.h would not help in this event; this would require
> bumping the major version of libc.so, which as you may have
> gathered is a "nearly never" event.
>
> now that the functions are in libc, they're in libc for keeps...
>
Thank you for making it clear.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBCAAGBQJVtRS/AAoJEEuzCOmwLnZsFs4P/1x6iFOPspKig+wxnP0VxI2X
rgP0/NdsUxbmKNsFRttDOnVnNmJ6fvN4MlcZKc/uibVIMAUS1upU1HIBhiRQI/ot
XU/QivuwnreR2Ivu4ynz1Hm7MR3XtXif/+rN6MJ1IMc8RS33EBpMStDu29ZVBkHy
u5jMcb/z+O1KOKQO3Wz/d16D91oYgn7LNx60Jo3evgEOX670VXItDFNS4KiW2hmk
gjGGTVostABl41Iy+8u6YDtMt97fSWqXgM5I/IC3hU2bj74nSZUTZ3PsdmRLzOkv
MjWjNQYvH10Afnguj9a4ja3yR2qh8rpO06DN5ta8m5dqZErXrRQzfpYMVanJq0Oq
RSJzmlDuAw/6t6Zpnsme1bq/Ip2yqvKAPKLJInOtNPWE1Jwk5ZIyy+s706fNQBAZ
fFZxFy7YP+QngOZHr7j3jHmjZlsjR12VKHsQSgl5Y0p6J1zfaLEn8szPcZPw1vnC
dwzxStXqBA50INKdqKcgqjCQ4fg/557GMCbx1yWVVka/KEKoQ7zXROpJSvItYm13
eQcCvOZuLlg56fc2YAfCejAdpRUrrHiqvU30ICDaGhG9y5HPIhki9JQp5TwbpFwJ
OqjNn+p2uaZGNg/9PqSvxGbLxh0/mY/43LJNHJ2SvUjCZ/dulywOFICjbB80Uwot
xYWMXQ9V8aJsSggp4rVc
=6IaC
-----END PGP SIGNATURE-----
Home |
Main Index |
Thread Index |
Old Index