[PATCH 1/1] offset: optimized calculation of year from unix timestamp

Carlos O'Donell carlos@redhat.com
Mon Aug 11 13:40:19 GMT 2025


On 8/7/25 11:34 AM, Paul Eggert wrote:
> Thanks for contributing that, and welcome to the hardy and obscure band of timestamp code fixers. For a previous proposal along similar lines, which also fixes some integer overflow bugs, see:
> 
> https://sourceware.org/pipermail/libc-alpha/2025-January/163488.html
> 
> This is part of a larger set of proposed fixes which I hope some day to pry free enough time to incorporate. See the thread starting here:
> 
> https://sourceware.org/pipermail/libc-alpha/2025-January/163444.html
> 

This patch fails CI:
https://patchwork.sourceware.org/project/glibc/patch/083ef81dbf611aa4b224efea31a25622@garygende.com/

We discussed this during the weekly patch queue review.

Florian will repost his smaller series to improve the existing APIs.

-- 
Cheers,
Carlos.



More information about the Libc-alpha mailing list