diff options
| author | cinap_lenrek <cinap_lenrek@felloff.net> | 2014-04-01 06:04:00 +0200 |
|---|---|---|
| committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2014-04-01 06:04:00 +0200 |
| commit | 50e2c9b4d47c8a14f9b921d716f2cd070a4aabcd (patch) | |
| tree | 198db8d3fb46ca13745343e9eb1a21842ccbfd80 /rc | |
| parent | 5b5eb3b4b4a7e10e16dcbe7f287771c7e6e85aa8 (diff) | |
| download | plan9front-50e2c9b4d47c8a14f9b921d716f2cd070a4aabcd.tar.xz | |
sam, acme: fix character classes quoting for 21-bit runes
quote handling was broken with 21-bit runes. nextrec()
returned quoted rune as long rune | (Runemax+1) to escape
it.
with 16-bit runes, storing that long into 16-bit Rune
would automatically remove the escaping, but with 21-bit
runes, Rune is uint32 so the escaping would remain. we
now use (Runemask+1) instead, and mask the escaping off
explicitely when storing back to Rune.
Diffstat (limited to 'rc')
0 files changed, 0 insertions, 0 deletions
