Package: kaya
Version: 0.2.0-4
Severity: important
Tags: patch
Kaya 0.2.2 released yesterday fixes an important bug in the UTF-8
reading code, which causes multi-byte characters to be omitted.
Since it doesn't seem like a new upstream release is appropriate
at this time of the release cycle, here's a minimal patch that fixes
it in 0.2.0
Thanks
--- VM.cc.current 2006-11-27 11:52:03.000000000 +0000
+++ VM.cc 2006-11-27 11:52:32.000000000 +0000
@@ -450,7 +450,7 @@
// assume it's all single-byte for memory allocation. It usually will be.
wchar_t* dest = (wchar_t*)GC_MALLOC_ATOMIC(sizeof(wchar_t)*(inlen+1));
while (cpos < inlen) {
- int first = (int)utf8[cpos];
+ unsigned char first = (unsigned char)utf8[cpos];
if (first < 128) {
// single byte character
dest[dpos++] = (wchar_t)first;
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.4.27
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Versions of packages kaya depends on:
ii g++-4.1 4.1.1-16 The GNU C++ compiler
ii libc6 2.3.6.ds1-6 GNU C Library: Shared libraries
ii libgc-dev 1:6.8-1 conservative garbage collector for
ii libgc1c2 1:6.8-1 conservative garbage collector for
ii libgcc1 1:4.1.1-16 GCC support library
ii libgcrypt11-dev [libgcryp 1.2.3-2 LGPL Crypto library - development
ii libgmp3c2 2:4.2.1+dfsg-4 Multiprecision arithmetic library
ii libgnutls-dev 1.4.4-2 the GNU TLS library - development
ii libncurses5-dev 5.5-4 Developer's libraries and docs for
ii libpcre3 6.7-1 Perl 5 Compatible Regular Expressi
ii libstdc++6 4.1.1-16 The GNU Standard C++ Library v3
kaya recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]