Re: BUG: realloc(p,0) is not conforming to C99/C11/C17/POSIX.1-2008

2024-10-17 Thread Douglas McIlroy via Gcc
Pedantically, I should say valid, not unique. More pedantically, it should be distinct from any other pointer returned by malloc or realloc and not freed or realloced since. Doug On Thu, Oct 17, 2024 at 12:09 PM Alejandro Colomar wrote: > > CC += JeanHeyd > > On Thu, Oct 17, 2024 at 05:25:55PM

Re: BUG: realloc(p,0) is not conforming to C99/C11/C17/POSIX.1-2008

2024-10-17 Thread Douglas McIlroy via Gcc
> Pedantically, I should say valid, not unique. More pedantically, it should be distinct from any other pointer returned by malloc or realloc and not freed or realloced since. On Thu, Oct 17, 2024 at 11:25 AM Alejandro Colomar wrote: > On Thu, Oct 17, 2024 at 05:19:07PM GMT, Alejandro Colomar w