Subject: Re: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: source-changes
Date: 07/09/1999 01:57:06
In article <199907082218.PAA28811@nb00.nas.nasa.gov>,
Jason R Thorpe <thorpej@netbsd.org> wrote:
>
>Module Name:	basesrc
>Committed By:	thorpej
>Date:		Thu Jul  8 22:18:07 UTC 1999
>
>Modified Files:
>	basesrc/lib/libc/stdlib: malloc.c
>
>Log Message:
>Make sure errno is set to ENOMEM if we return NULL.

The patch is not correct on the sysv case where size == 0.
Plus we need to check the code path for imalloc(), to see
if it ever returns for a different reason than a syscall
failure.

christos