[klibc] [klibc:master] tests: Add test for malloc size arithmetic

Thorsten Glaser tg at mirbsd.de
Sat May 1 10:06:38 PDT 2021


Ben Hutchings dixit:

>On Fri, 2021-04-30 at 23:29 +0000, Thorsten Glaser wrote:
>> klibc-bot for Ben Hutchings dixit:
>> 
>> > +#if SIZE_MAX > 0x100000000
>> 
>> Are you sure about this? No ULL suffix or anything?
>
>What are you worried about?

That this is equivalent to #if SIZE_MAX > 0 on 32-bit platforms,
nullifying the effect.

bye,
//mirabilos
-- 
<cnuke> den AGP stecker anfeilen, damit er in den slot aufm 440BX board passt…
oder netzteile, an die man auch den monitor angeschlossen hat und die dann für
ein elektrisch aufgeladenes gehäuse gesorgt haben […] für lacher gut auf jeder
LAN party │ <nvb> damals, als der pizzateig noch auf dem monior "gegangen" ist



More information about the klibc mailing list