- Fix an unlikely crash on startup (#188279)
This commit is contained in:
parent
42d319dca1
commit
6c0b69de07
21
tcsh-6.14.00-remotehost.patch
Normal file
21
tcsh-6.14.00-remotehost.patch
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
--- tcsh-6.14.00/tc.func.c.remotehost 2006-09-09 04:05:48.000000000 +0200
|
||||||
|
+++ tcsh-6.14.00/tc.func.c 2006-09-09 04:05:52.000000000 +0200
|
||||||
|
@@ -2250,14 +2250,13 @@
|
||||||
|
jmp_buf_t osetexit;
|
||||||
|
getexit(osetexit);
|
||||||
|
|
||||||
|
- (void) alarm(2);
|
||||||
|
-
|
||||||
|
- if (setexit() == 0)
|
||||||
|
+ if (setexit() == 0) {
|
||||||
|
+ (void) alarm(2);
|
||||||
|
getremotehost();
|
||||||
|
-
|
||||||
|
+ }
|
||||||
|
+ (void) alarm(0);
|
||||||
|
resexit(osetexit);
|
||||||
|
|
||||||
|
- (void) alarm(0);
|
||||||
|
(void) sigset(SIGALRM, osig);
|
||||||
|
|
||||||
|
#ifdef YPBUGS
|
@ -3,7 +3,7 @@
|
|||||||
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: 10
|
Release: 11
|
||||||
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
|
||||||
@ -18,6 +18,7 @@ Patch7: tcsh-6.14.00-wide-crash.patch
|
|||||||
Patch8: tcsh-6.14.00-colors.patch
|
Patch8: tcsh-6.14.00-colors.patch
|
||||||
Patch9: tcsh-6.14.00-wide-seeks.patch
|
Patch9: tcsh-6.14.00-wide-seeks.patch
|
||||||
Patch10: tcsh-6.14.00-spell-crash.patch
|
Patch10: tcsh-6.14.00-spell-crash.patch
|
||||||
|
Patch11: tcsh-6.14.00-remotehost.patch
|
||||||
Provides: csh = %{version}
|
Provides: csh = %{version}
|
||||||
Prereq: fileutils, grep
|
Prereq: fileutils, grep
|
||||||
URL: http://www.tcsh.org/
|
URL: http://www.tcsh.org/
|
||||||
@ -45,6 +46,7 @@ like syntax.
|
|||||||
%patch8 -p1 -b .colors
|
%patch8 -p1 -b .colors
|
||||||
%patch9 -p1 -b .wide-seeks
|
%patch9 -p1 -b .wide-seeks
|
||||||
%patch10 -p1 -b .spell-crash
|
%patch10 -p1 -b .spell-crash
|
||||||
|
%patch11 -p1 -b .remotehost
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --without-hesiod
|
%configure --without-hesiod
|
||||||
@ -110,6 +112,9 @@ fi
|
|||||||
%{_mandir}/*/*
|
%{_mandir}/*/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Sep 9 2006 Miloslav Trmac <mitr@redhat.com> - 6.14-11
|
||||||
|
- Fix an unlikely crash on startup (#188279)
|
||||||
|
|
||||||
* Wed Aug 16 2006 Miloslav Trmac <mitr@redhat.com> - 6.14-10
|
* Wed Aug 16 2006 Miloslav Trmac <mitr@redhat.com> - 6.14-10
|
||||||
- Fix an uninitialized variable causing stack corruption (#197968)
|
- Fix an uninitialized variable causing stack corruption (#197968)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user