Hello community, here is the log from the commit of package ksh checked in at Wed Jun 20 19:15:01 CEST 2007. -------- --- ksh/ksh.changes 2007-06-19 16:02:05.000000000 +0200 +++ /mounts/work_src_done/STABLE/ksh/ksh.changes 2007-06-20 15:17:23.559791000 +0200 @@ -1,0 +2,5 @@ +Wed Jun 20 15:15:28 CEST 2007 - werner@suse.de + +- Fix pointer arithmetics within sh_trim() (bug #284611) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ksh.spec ++++++ --- /var/tmp/diff_new_pack.nO7710/_old 2007-06-20 19:14:42.000000000 +0200 +++ /var/tmp/diff_new_pack.nO7710/_new 2007-06-20 19:14:42.000000000 +0200 @@ -18,7 +18,7 @@ PreReq: /bin/ln /etc/bash.bashrc /bin/true Autoreqprov: on Version: 93s -Release: 23 +Release: 24 Summary: Korn Shell BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: INIT.2007-03-28.tar.bz2 @@ -278,6 +278,8 @@ %{_includedir}/ast/ %changelog +* Wed Jun 20 2007 - werner@suse.de +- Fix pointer arithmetics within sh_trim() (bug #284611) * Tue Jun 19 2007 - werner@suse.de - Correct bug ID (bug #284580) * Fri May 25 2007 - werner@suse.de ++++++ ksh93-shift_ijs.dif ++++++ --- /var/tmp/diff_new_pack.nO7710/_old 2007-06-20 19:14:42.000000000 +0200 +++ /var/tmp/diff_new_pack.nO7710/_new 2007-06-20 19:14:42.000000000 +0200 @@ -116,6 +116,21 @@ #endif +@@ -250,12 +250,13 @@ void sh_trim(register char *sp) + if(sp) + { + dp = sp; +- while(c= *sp) ++ while((c = *sp)) + { + #if SHOPT_MULTIBYTE + int len; + if(mbwide() && (len=mbsize(sp))>1) + { ++ memmove(dp, sp, len); + dp += len; + sp += len; + continue; --- src/lib/libast/comp/setlocale.c +++ src/lib/libast/comp/setlocale.c 2007-03-28 18:24:16.098860000 +0200 @@ -32,6 +32,7 @@ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org