ViewVC logotype

Revision 1083

Jump to revision: Previous Next
Author: chpe
Date: Tue Oct 16 15:55:24 2012 UTC (7 years, 5 months ago)
Changed paths: 2
Log Message:
pcre32: Mask out bits >= 22 on 32-bit characters in UTF-32 mode

UTF-32 only uses 21 bits, so the upper bits may be used to store flags
etc. To allow passing the unmodified internal buffers to pcre32, make
pcre32 mask out those upper bits.

TODO: do the same for the JIT compiler, and add tests

Changed paths:

Path Details
Directorycode/trunk/pcre32_ord2utf32.c modified , text changed
Directorycode/trunk/pcre_internal.h modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.5