Source-Changes archive

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

Re: CVS commit: basesrc



In article <199907082218.PAA28811%nb00.nas.nasa.gov@localhost>,
Jason R Thorpe <thorpej%netbsd.org@localhost> 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



Home | Main Index | Thread Index | Old Index