Tom Hughes wrote:
> Commit history explains:
> 
>    https://sourceware.org/git/?p=glibc.git;a=commit;h=12cbde1da

For what it's worth, I think this is a completely pointless incompatibility.

It costs almost nothing to maintain this function (and in fact they have to 
do it anyway for old binaries), so I do not see the point of hiding it from 
the linker at all. All it means is that the applications have to copy&paste 
the same boilerplate everywhere (and do it wrong, e.g., Martin Gansser's 
patch will trigger an – admittedly harmless – compiler warning due to 
partial structure initialization). Sure, the new API is better because it 
supports split seconds, but if you do not have any nanoseconds to pass to 
it, there is no benefit in setting up the structure in the caller instead of 
letting glibc do it.

So I do not understand at all why glibc is now hiding this function from the 
compiler and the linker.

        Kevin Kofler
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to