This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
regex pb ?
- To: <cygwin at sources dot redhat dot com>
- Subject: regex pb ?
- From: "Emmanuel Blot" <emmanuel dot blot at ireland dot sun dot com>
- Date: Mon, 13 Nov 2000 20:55:59 -0000
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