This is the mail archive of the cygwin 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]
Other format: [Raw text]

regex: incorrect REG_EMPTY


I encountered an apparent bug in our regex code triggered by one of the included hostprogs (namely arch/x86/tools/relocs.c) used while cross-compiling an i386 Linux kernel.

The exact regexp in question is included in the attached STC:

$ gcc -Wall regex-test.c  && ./a
./a: empty (sub)expression

$ gcc -DPCRE -Wall regex-test.c -lpcreposix && ./a


Yaakov

Attachment: regex-test.c
Description: Text document

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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