svn commit: r265367 - head/lib/libc/regex

Andrey Chernov ache at freebsd.org
Mon May 5 17:42:27 UTC 2014


On 05.05.2014 20:41, Pedro F. Giffuni wrote:
> Log:
>   regex: Use calloc instead of malloc.
>   
>   Mostly to reduce differences with OpenBSD.

Please don't commit OpenBSD errors. Now you mix calloc() with the
realloc() for the same variable later which makes calloc() zeroing
pointless and waste of CPU.

-- 
http://ache.vniz.net/


More information about the svn-src-head mailing list