Hello community, here is the log from the commit of package tcsh checked in at Mon Oct 6 19:09:45 CEST 2008. -------- --- tcsh/tcsh.changes 2008-06-13 17:22:02.000000000 +0200 +++ /mounts/work_src_done/STABLE/tcsh/tcsh.changes 2008-10-06 16:10:10.045517000 +0200 @@ -1,0 +2,5 @@ +Mon Oct 6 16:09:36 CEST 2008 - werner@suse.de + +- Avoid blanks at the beginning of command lists (bnc#431661) + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- tcsh-6.15.00-blanks.dif ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tcsh.spec ++++++ --- /var/tmp/diff_new_pack.V27067/_old 2008-10-06 19:08:59.000000000 +0200 +++ /var/tmp/diff_new_pack.V27067/_new 2008-10-06 19:08:59.000000000 +0200 @@ -2,9 +2,16 @@ # spec file for package tcsh (Version 6.15.00) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. -# This file and all modifications and additions to the pristine -# package are under the same license as the package itself. # +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + # Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -19,7 +26,7 @@ Requires: gawk textutils AutoReqProv: on Version: 6.15.00 -Release: 65 +Release: 89 Summary: The C SHell Source: ftp.astron.com:/pub/tcsh/tcsh-6.15.00.tar.bz2 Source1: nls-iconv @@ -32,6 +39,7 @@ Patch4: tcsh-6.15.00-longjmp.dif Patch5: tcsh-6.15.00-norm-cmd.dif Patch6: tcsh-6.15.00-history.dif +Patch7: tcsh-6.15.00-blanks.dif BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -56,6 +64,7 @@ %patch4 -p0 -b .longjmp %patch5 -p0 -b .normcmd %patch6 -p0 -b .history +%patch7 -p0 -b .blanks %patch sh $RPM_SOURCE_DIR/nls-iconv @@ -138,6 +147,8 @@ %{_datadir}/locale/*/LC_MESSAGES/tcsh %changelog +* Mon Oct 06 2008 werner@suse.de +- Avoid blanks at the beginning of command lists (bnc#431661) * Fri Jun 13 2008 werner@suse.de - Add complete rule for local executables ./* * Thu Dec 20 2007 werner@suse.de ++++++ tcsh-6.15.00-blanks.dif ++++++ --- sh.misc.c +++ sh.misc.c 2008-10-06 13:58:56.389867280 +0000 @@ -185,8 +185,18 @@ saveblk(Char **v) onewv = newv = xcalloc(blklen(v) + 1, sizeof(Char **)); - while (*v) - *newv++ = Strsave(*v++); + while (*v) { + Char *__restrict__ l = *v; + do { + int c; + if (!l || (c = TRM(*l)) != ' ' && c != '\t' && c != '\n') + break; /* strip blanks */ + l++; + } while (*l); + *newv++ = Strsave(l); + v++; + } + return (onewv); } ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org