New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'no jitsize 0' test fails on s390x where JIT is not available #23
Comments
I can reproduce it on x86_64 after passing --disable-jit to PCRE2's ./configure. |
It's a copy-and-paste typo in the PCRE2.xs:612. There should be JITSIZE, not SIZE. |
ppisar
added a commit
to ppisar/re-engine-PCRE2
that referenced
this issue
Apr 25, 2017
There was a typo causing jitsize() to return value of non-JIT compiled pattern. It manifested into 'no jitsize 0' t/config.t failures on systems where PCRE2 library has disabled JIT. This patch fixes it. rurban#23
Merged
rurban
pushed a commit
that referenced
this issue
Apr 25, 2017
There was a typo causing jitsize() to return value of non-JIT compiled pattern. It manifested into 'no jitsize 0' t/config.t failures on systems where PCRE2 library has disabled JIT. This patch fixes it. #23
Fixed with 0.12 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I noticed that 'no jitsize 0' test fails on s390x platform:
Reading the code, it looks like the XS code simply returns pcre2_pattern_info(..., PCRE2_INFO_JITSIZE, ...) value and that is documented as 0, so it looks like a bug in PCRE2. I will check it and forward it to PCRE2 authors if it's the cause.
The text was updated successfully, but these errors were encountered: