On 20 July 2010 16:35, Eric Blake <[email protected]> wrote: > 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.
I reported this to [email protected] in 2004: Message-ID: <[email protected]> and filed a related bug in 2008: http://sourceware.org/bugzilla/show_bug.cgi?id=5718 and nothing was done (that I can see). Maybe I did something wrong, but I'd appreciate some help to avoid wasting time again. What should I tell whom? Since GNU regex seems no longer to be shipped separately from glibc, other than in gnulib, one or the other needs to adopt the texinfo documentation, and glibc's regex.h (which is effectively the master copy) needs to have the requirement to use regfree documented. But evidently this has so far been beyond me to achieve...help? > Odd or not, that is the correct usage pattern. Â regfree() is the correct > way to release memory allocated by re_compile. Thanks for that confirmation. -- http://rrt.sc3d.org
