Re: BUFSIZ-related pessimization in fvwrite.c

2024-03-29 Thread Christos Zoulas
In article , enh wrote: >(if anyone knows the equivalent freebsd list, please add them --- this >code is the same between all three bsds.) > >Apple patched their copy of the FreeBSD fvwrite.c to change BUFSIZ to >INT_MAX to massively improve the performance of large unbuffered >writes[1], and

Re: __hldtoa broken for ld128

2020-04-11 Thread Christos Zoulas
In article , enh wrote: >this was found by fuzzing the LLVM __cxa_demangle on an ld128 Android >system using hwasan, but it turns out no to simply be a buffer >overflow --- the results are just wrong. (which shows how much anyone >uses ld128 in conjunction with %a!) Thanks a lot for the heads

Re: pselect(2) bug or feature?

2020-04-01 Thread Christos Zoulas
The select(2) family of syscalls was designed to work this way (block when file descriptors are not available, even when they cannot become available). For example: select(0, NULL, NULL, NULL, NULL); blocks forever. In fact in the very old days (before usleep, nanosleep,