[PATCH v2] io: Use gnulib fts implementation (BZ 22944, BZ 20331)

H. Peter Anvin hpa@zytor.com
Thu Mar 5 23:35:55 GMT 2026


On 2026-03-05 15:01, Collin Funk wrote:
> Wilco Dijkstra <Wilco.Dijkstra@arm.com> writes:
> 
>> Hi Adhemerval,
>>
>> +  size_t val = rotr_sz ((size_t) data, 3);
>>
>> Does it really make sense to add a new header reinventing the wheel rather than:
>>
>> size_t val = stdc_rotate_right ((size_t) data, 3);
> 
> That is a C2y function right? I don't think we can use it. Looking at
> the releases with the relevant commit:
> 
>     $ git tag --contains 972f653cad2aedcfa901614566506c1c2e668766
>     basepoints/gcc-16
>     releases/gcc-15.1.0
>     releases/gcc-15.2.0
> 

Well, you might need an infill for older compilers, but it seems a bit
backwards to not use the name that is standard going forward?

	-hpa



More information about the Libc-alpha mailing list