cvs commit: src/lib/libc/stdlib malloc.c

Jason Evans jasone at FreeBSD.org
Fri Jun 30 20:54:16 UTC 2006


jasone      2006-06-30 20:54:15 UTC

  FreeBSD src repository

  Modified files:
    lib/libc/stdlib      malloc.c 
  Log:
  Make the behavior of malloc(0) standards-compliant by getting rid of nil,
  and instead creating a small allocation for each malloc(0) call.  The
  optional SysV compatibility behavior remains unchanged.
  
  Add a couple of assertions.
  
  Fix a couple of typos in error message strings.
  
  Revision  Changes    Path
  1.128     +46 -48    src/lib/libc/stdlib/malloc.c


More information about the cvs-src mailing list