Juergen Keil <[EMAIL PROTECTED]> wrote: > > kmem_alloc(0, flag) always returns NULL. kmem_free(NULL, 0) > > is legal. > > > > That's manpage - consider it a spec ... > > Well, it says kmem_free with a ptr == NULL and size == 0 is legal; > but what about ptr == NULL and size > 0?
We had the second one 2.5 years ago in the ACPI code ;-) Jörg -- EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin [EMAIL PROTECTED] (uni) [EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily _______________________________________________ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org