bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: regfree


From: Reuben Thomas
Subject: Re: regfree
Date: Tue, 20 Jul 2010 20:48:02 +0100

On 20 July 2010 16:35, Eric Blake <address@hidden> 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 address@hidden in 2004:

Message-ID: <address@hidden>

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]