Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/lib/libc/stdlib



On Sat, 12 Mar 2022 08:26:01 +0000
Nia Alarie <nia%netbsd.org@localhost> wrote:

> Module Name:	src
> Committed By:	nia
> Date:		Sat Mar 12 08:26:01 UTC 2022
> 
> Modified Files:
> 	src/lib/libc/stdlib: hcreate.c
> 
> Log Message:
> hcreate(3): use reallocarr instead of malloc(x * y)

Caution: malloc(0) and reallocarr(&p, 0, s) have different semantics
for the returned pointer value.



Home | Main Index | Thread Index | Old Index