Hello community, here is the log from the commit of package screen checked in at Thu Oct 26 20:29:57 CEST 2006. -------- --- screen/screen.changes 2006-02-10 18:00:41.000000000 +0100 +++ /mounts/work_src_done/STABLE/screen/screen.changes 2006-10-23 17:53:48.000000000 +0200 @@ -1,0 +2,5 @@ +Mon Oct 23 16:11:47 CEST 2006 - mls@suse.de + +- fix two bugs in handling of combining characters [#214412] + +------------------------------------------------------------------- New: ---- screen-4.0.2-comb.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ screen.spec ++++++ --- /var/tmp/diff_new_pack.5copSY/_old 2006-10-26 20:29:47.000000000 +0200 +++ /var/tmp/diff_new_pack.5copSY/_new 2006-10-26 20:29:47.000000000 +0200 @@ -12,17 +12,18 @@ Name: screen BuildRequires: utempter -License: GPL +License: GNU General Public License (GPL) - all versions Group: System/Console PreReq: %install_info_prereq Autoreqprov: on Version: 4.0.2 -Release: 51 +Release: 74 Summary: A program to allow multiple screens on a VT100/ANSI Terminal Source: screen-4.0.2.tar.gz Patch: screen-4.0.2.dif Patch1: screen-__P.diff Patch2: screen-gcc4.diff +Patch3: screen-4.0.2-comb.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -45,6 +46,7 @@ %patch %patch1 %patch2 -p1 +%patch3 %build CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --infodir=%{_infodir} \ @@ -88,6 +90,8 @@ %install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz %changelog -n screen +* Mon Oct 23 2006 - mls@suse.de +- fix two bugs in handling of combining characters [#214412] * Fri Feb 10 2006 - mls@suse.de - enable support for 256 colors [#136684] * Thu Jan 26 2006 - sbrabec@suse.cz ++++++ screen-4.0.2-comb.diff ++++++ --- encoding.c.orig 2003-09-08 16:25:23.000000000 +0200 +++ encoding.c 2006-10-23 14:58:14.000000000 +0200 @@ -995,8 +995,16 @@ { /* full, recycle old entry */ if (c1 >= 0xd800 && c1 < 0xe000) - comb_tofront(root, c1); + comb_tofront(root, c1 - 0xd800); i = combchars[root]->prev; + if (c1 == i + 0xd800) + { + /* completely full, can't recycle */ + debug("utf8_handle_comp: completely full!\n"); + mc->image = '?'; + mc->font = 0; + return; + } /* FIXME: delete old char from all buffers */ } else if (!combchars[i]) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@suse.de