Re: Internal regex.h is always used

2010-09-17 Thread Paolo Bonzini
On 09/17/2010 01:01 PM, Reuben Thomas wrote: So, you're saying that all the features in the gnulib version of GNU regex have been in glibc for sufficiently long that I am very unlikely ever to use a system with a sufficiently old version of glibc that it is lacking a feature (e.g. a particular sy

Re: Internal regex.h is always used

2010-09-17 Thread Reuben Thomas
On 15 September 2010 02:43, Bruno Haible wrote: > Hi Reuben, > >> #include "regex.h" >> uses the included regex.h, not the system one. > > Yes. > >> There are obvious potential problems with this: if the >> ABI changes you could end up with a header that doesn't match the >> linked code, and even

Re: Internal regex.h is always used

2010-09-14 Thread Bruno Haible
Hi Reuben, > #include "regex.h" > uses the included regex.h, not the system one. Yes. > There are obvious potential problems with this: if the > ABI changes you could end up with a header that doesn't match the > linked code, and even without that you can end up thinking you have > features (e.

Internal regex.h is always used

2010-09-14 Thread Reuben Thomas
Even when configure detects a working system regex, or --without-included-regex is used, #include "regex.h" (which is what gnulib tells you to use) uses the included regex.h, not the system one. There are obvious potential problems with this: if the ABI changes you could end up with a header that