PERFORCE change 166430 for review

John Baldwin jhb at freebsd.org
Fri Jul 24 14:51:58 UTC 2009


On Thursday 23 July 2009 1:37:41 am Jonathan Anderson wrote:
> http://perforce.freebsd.org/chv.cgi?CH=166430
> 
> Change 166430 by jona at jona-trustedbsd-belle-vmware on 2009/07/23 05:36:50
> 
> 	mmap() can fail and return MAP_FAILED, not just NULL\!

MAP_FAILED is actually the only invalid pointer it will return.  This should 
probably not be checking for NULL.

-- 
John Baldwin


More information about the p4-projects mailing list