@ch3root @thegrugq @johnregehr @i0n1c When could that comparison possibly be useful anyway?
-
-
@RichFelker Well that little dance that musl does to set f.rend in src/stdlib/strtol.c is only a different kind of UB. -
@spun_off Yes, it should be done with uintptr_t, but really index/count, not pos/end, should be used.
-
@spun_off The latter bad design was to match glibc ABI for binary stuff that pokes at internals (due to getc/putc macros), but...
-
@spun_off ...we could instead put perma-nulls at those offsets in FILE and use a pos/len representation elsewhere in the structure.
-
@spun_off It will just take a lot of work to refit all the code using them.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.