Source-Changes archive

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

Re: CVS commit: basesrc/sbin/newfs



On Thu, Jul 26, 2001 at 07:53:39PM +0300, Luke Mewburn wrote:

 > Module Name: basesrc
 > Committed By:        lukem
 > Date:                Thu Jul 26 16:53:39 UTC 2001
 > 
 > Modified Files:
 >      basesrc/sbin/newfs: mkfs.c
 > 
 > Log Message:
 > - check return value of calloc() in mkfs()
 > - in replacement malloc(), if sbrk(2) returns (void *)-1, convert to NULL
 >   before returning
 > - in replacement calloc(), check return value of malloc() before zeroing 
 > result

Why does newfs have its own malloc/calloc at all in the first place?

-- 
        -- Jason R. Thorpe <thorpej%zembu.com@localhost>



Home | Main Index | Thread Index | Old Index