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