Ben Hutchings
2021-May-01 15:00 UTC
[klibc] [klibc:master] tests: Add test for malloc size arithmetic
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? Ben. -- Ben Hutchings Time is nature's way of making sure that everything doesn't happen at once. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: This is a digitally signed message part URL: <https://lists.zytor.com/archives/klibc/attachments/20210501/76372840/attachment.sig>
Thorsten Glaser
2021-May-01 17:06 UTC
[klibc] [klibc:master] tests: Add test for malloc size arithmetic
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