This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

regex pb ?


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 cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]