This commit is contained in:
parent
d14e50c379
commit
9c09ca6f4d
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 20 15:15:28 CEST 2007 - werner@suse.de
|
||||
|
||||
- Fix pointer arithmetics within sh_trim() (bug #284611)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 19 16:01:40 CEST 2007 - werner@suse.de
|
||||
|
||||
|
4
ksh.spec
4
ksh.spec
@ -18,7 +18,7 @@ Group: System/Shells
|
||||
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 @@ fi
|
||||
%{_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
|
||||
|
@ -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 @@
|
||||
|
Loading…
x
Reference in New Issue
Block a user