delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Message-ID: | <001101c04db4$2168eb30$e3dc9c81@ireland.sun.com> |
From: | "Emmanuel Blot" <emmanuel DOT blot AT ireland DOT sun DOT com> |
To: | <cygwin AT sources DOT redhat DOT com> |
Subject: | regex pb ? |
Date: | Mon, 13 Nov 2000 20:55:59 -0000 |
MIME-Version: | 1.0 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Mailer: | Microsoft Outlook Express 5.00.2919.6700 |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2919.6700 |
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 AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |