bug-gnulib
[Top][All Lists]
Advanced

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

Re: [bug-gnulib] regex alloca fixes


From: Bruno Haible
Subject: Re: [bug-gnulib] regex alloca fixes
Date: Fri, 26 Aug 2005 14:31:38 +0200
User-agent: KMail/1.5

Paul Eggert wrote:
> I noticed that regex invoked alloca with unbounded size.  Rather
> than use the allocsa module I thought it better to stick to glibc
> style, and define __libc_use_alloca when _LIBC isn't defined.

I agree, this is more likely to be accepted by the glibc maintainers.
Outside glibc, however, I prefer 'allocsa' since with it, an allocation
takes 1 line of code, not 12 lines.

Bruno





reply via email to

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