- Fix EOF handling in $< (#165095)
This commit is contained in:
parent
edfb6dba38
commit
faf2c83358
16
tcsh-6.14.00-read.patch
Normal file
16
tcsh-6.14.00-read.patch
Normal file
@ -0,0 +1,16 @@
|
||||
Index: tcsh/sh.dol.c
|
||||
===================================================================
|
||||
--- tcsh.orig/sh.dol.c
|
||||
+++ tcsh/sh.dol.c
|
||||
@@ -485,9 +485,10 @@ Dgetdol(void)
|
||||
(void) sigrelse(SIGINT);
|
||||
#endif /* BSDSIGS */
|
||||
np = wbuf;
|
||||
- while (force_read(OLDSTD, cbuf + cbp++, 1) == 1) {
|
||||
+ while (force_read(OLDSTD, cbuf + cbp, 1) == 1) {
|
||||
int len;
|
||||
|
||||
+ cbp++;
|
||||
len = normal_mbtowc(np, cbuf, cbp);
|
||||
if (len == -1) {
|
||||
reset_mbtowc();
|
@ -3,7 +3,7 @@
|
||||
Summary: An enhanced version of csh, the C shell.
|
||||
Name: tcsh
|
||||
Version: 6.14
|
||||
Release: 3
|
||||
Release: 4
|
||||
License: distributable
|
||||
Group: System Environment/Shells
|
||||
Source: ftp://ftp.astron.com/pub/tcsh/tcsh-%{version}.00.tar.gz
|
||||
@ -12,6 +12,7 @@ Patch1: tcsh-6.14.00-closem.patch
|
||||
Patch2: tcsh-6.14.00-iconv.patch
|
||||
Patch3: tcsh-6.14.00-lsF.patch
|
||||
Patch4: tcsh-6.14.00-dashn.patch
|
||||
Patch5: tcsh-6.14.00-read.patch
|
||||
Provides: csh = %{version}
|
||||
Prereq: fileutils, grep
|
||||
URL: http://www.tcsh.org/
|
||||
@ -33,6 +34,7 @@ like syntax.
|
||||
%patch2 -p1 -b .iconv
|
||||
%patch3 -p1 -b .lsF
|
||||
%patch4 -p1 -b .dashn
|
||||
%patch5 -p1 -b .read
|
||||
|
||||
nroff -me eight-bit.me > eight-bit.txt
|
||||
|
||||
@ -100,6 +102,9 @@ fi
|
||||
%{_mandir}/*/*
|
||||
|
||||
%changelog
|
||||
* Fri Aug 5 2005 Miloslav Trmac <mitr@redhat.com> - 6.14-4
|
||||
- Fix EOF handling in $< (#165095)
|
||||
|
||||
* Thu Jul 7 2005 Miloslav Trmac <mitr@redhat.com> - 6.14-3
|
||||
- Fix -n (#162187)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user