Using the last release (1.1.5), I got some errors with regex.

The code coming from the openldap project that checks the POSIX compatibilty runs well 
under Linux, but fails under cygwin:

#include <sys/types.h>
#include <regex.h>
static char *pattern, *string;
main()
{
 int rc;
 regex_t re;

 pattern = "^A";

 if(regcomp(&re, pattern, 0)) {
   /* returns 167837896 !! */
  return -1;
 }

  /* ... */
}


Any idea ?

Emmanuel.




--
Want to unsubscribe from this list?
Send a message to [EMAIL PROTECTED]

Reply via email to