bug-grep
[Top][All Lists]
Advanced

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

Re: dfa.c order of include problem


From: Aharon Robbins
Subject: Re: dfa.c order of include problem
Date: Thu, 31 Jan 2013 22:24:21 +0200
User-agent: Heirloom mailx 12.5 6/20/10

Hi Eric.

> >> Rather, doesn't that mean that <regex.h> should #include <limits.h>
> >> prior to redefining RE_DUP_MAX, to be sure that it overrides any limits
> >> that would otherwise be present in the system headers?
> > 
> > That would be nice, but hell will likely freeze over before glibc
> > updates it for us.
>
> Glibc <regex.h> does not have the problem,

How is that so?  The undef of RE_DUP_MAX and redefine is there.
If limits.h is included after regex.h, then the value from limits.h
is applied.

Thanks,

Arnold



reply via email to

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