aboutsummaryrefslogtreecommitdiffstats
path: root/tests/regex_test.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix regoff_t for LP32 and _FILE_OFFSET_BITS=64.Elliott Hughes2015-11-071-0/+10
| | | | | | | | | | bionic is built without _FILE_OFFSET_BITS=64, so internally regoff_t was 32-bit on LP32, but code compiled with _FILE_OFFSET_BITS would expect rm_so and rm_eo in struct regmatch_t to be 64-bit, leading to confusion. Bug: http://b/23566443 Change-Id: Iae92fa545104068e4f64ce1977f5ec616859638c
* Consistently use #if defined(__BIONIC__) in tests.Elliott Hughes2014-05-131-1/+1
| | | | | | | | I've also switched some tests to be positive rather than negative, because !defined is slightly harder to reason about and there are only two cases: bionic and glibc. Change-Id: I8d3ac40420ca5aead3e88c69cf293f267273c8ef
* Switch to the current NetBSD regex implementation.Elliott Hughes2012-08-151-0/+38
Change-Id: If32b28dd85d6a7ab8957ab81d19fa4c0de9499d5