- Backport a column width calculation bugfix (#160760)

This commit is contained in:
Miloslav Trmac 2005-06-20 17:04:52 +00:00
parent 5dd9b97eba
commit e22ce2bdea
2 changed files with 16 additions and 1 deletions

10
tcsh-6.14.00-lsF.patch Normal file
View File

@ -0,0 +1,10 @@
--- tcsh-6.14.00/tw.parse.c.lsF 2005-06-20 18:56:57.000000000 +0200
+++ tcsh-6.14.00/tw.parse.c 2005-06-20 18:57:03.000000000 +0200
@@ -2088,6 +2088,7 @@
Char f = items[i][w - 1];
items[i][w - 1] = 0;
print_with_color(items[i], w - 1, f);
+ items[i][w - 1] = f;
}
else {
/* Print filename followed by '/' or '*' or ' ' */

View File

@ -3,13 +3,14 @@
Summary: An enhanced version of csh, the C shell. Summary: An enhanced version of csh, the C shell.
Name: tcsh Name: tcsh
Version: 6.14 Version: 6.14
Release: 1 Release: 2
License: distributable License: distributable
Group: System Environment/Shells Group: System Environment/Shells
Source: ftp://ftp.astron.com/pub/tcsh/tcsh-%{version}.00.tar.gz Source: ftp://ftp.astron.com/pub/tcsh/tcsh-%{version}.00.tar.gz
Patch0: tcsh-6.14.00-config.patch Patch0: tcsh-6.14.00-config.patch
Patch1: tcsh-6.14.00-closem.patch Patch1: tcsh-6.14.00-closem.patch
Patch2: tcsh-6.14.00-iconv.patch Patch2: tcsh-6.14.00-iconv.patch
Patch3: tcsh-6.14.00-lsF.patch
Provides: csh = %{version} Provides: csh = %{version}
Prereq: fileutils, grep Prereq: fileutils, grep
URL: http://www.tcsh.org/ URL: http://www.tcsh.org/
@ -29,6 +30,7 @@ like syntax.
%patch0 -p1 -b .config %patch0 -p1 -b .config
%patch1 -p1 -b .closem %patch1 -p1 -b .closem
%patch2 -p1 -b .iconv %patch2 -p1 -b .iconv
%patch3 -p1 -b .lsF
nroff -me eight-bit.me > eight-bit.txt nroff -me eight-bit.me > eight-bit.txt
@ -96,6 +98,9 @@ fi
%{_mandir}/*/* %{_mandir}/*/*
%changelog %changelog
* Mon Jun 20 2005 Miloslav Trmac <mitr@redhat.com> - 6.14-2
- Backport a column width calculation bugfix (#160760)
* Fri Mar 25 2005 Miloslav Trmac <mitr@redhat.com> - 6.14-1 * Fri Mar 25 2005 Miloslav Trmac <mitr@redhat.com> - 6.14-1
- Update to tcsh-6.14.00 - Update to tcsh-6.14.00