]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
regex: Make use of reallocf().
authorPedro F. Giffuni <pfg@FreeBSD.org>
Fri, 20 Jun 2014 15:29:09 +0000 (15:29 +0000)
committerPedro F. Giffuni <pfg@FreeBSD.org>
Fri, 20 Jun 2014 15:29:09 +0000 (15:29 +0000)
commiteb0fb866de4afb91b6b49cf48c4c609891b5f545
tree0258a4920edfd2941d482a0322f2f2f54c3c3ba8
parent6ba22f19ca59d3c7580dc9de574654d6b5b5648b
regex: Make use of reallocf().

Use of reallocf is useful in libraries as we are not certain the
application will exit after NULL.

This somewhat reduces portability but if since you are building
this as part of libc it is likely you have our non-standard
reallocf(3) already.

Reviewed by: ache
MFC after: 5 days
lib/libc/regex/regcomp.c