On 07/20/2010 09:29 AM, Reuben Thomas wrote: > Not sure who owns GNU regex (it seems to be be deprecated, e.g. no > documentation in glibc, but maintained), but I thought the folks here > among the most likely to have a sensible answer to this question:
It is not deprecated; if glibc lacks proper documentation, then report that as a bug to glibc. > > How should I free the memory allocated by re_compile? regfree seems to > work fine, but it's odd to use a POSIX compatibility API when I'm > otherwise using the GNU API Odd or not, that is the correct usage pattern. regfree() is the correct way to release memory allocated by re_compile. -- Eric Blake [email protected] +1-801-349-2682 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
