diff options
author | Miloslav Trmac <mitr@fedoraproject.org> | 2006-09-09 02:13:39 +0000 |
---|---|---|
committer | Miloslav Trmac <mitr@fedoraproject.org> | 2006-09-09 02:13:39 +0000 |
commit | 6c0b69de07daa610e3fca0cf3371df5ed38bf9f6 (patch) | |
tree | 11f043ad5fca1e46c36baeb36e7b5402ea9b72fd | |
parent | 42d319dca1558057461c1251313d663fc0a62cf0 (diff) | |
download | tcsh-rebase-6.19.00-6c0b69de07daa610e3fca0cf3371df5ed38bf9f6.tar.gz tcsh-rebase-6.19.00-6c0b69de07daa610e3fca0cf3371df5ed38bf9f6.tar.xz tcsh-rebase-6.19.00-6c0b69de07daa610e3fca0cf3371df5ed38bf9f6.zip |
- Fix an unlikely crash on startup (#188279)
-rw-r--r-- | tcsh-6.14.00-remotehost.patch | 21 | ||||
-rw-r--r-- | tcsh.spec | 7 |
2 files changed, 27 insertions, 1 deletions
diff --git a/tcsh-6.14.00-remotehost.patch b/tcsh-6.14.00-remotehost.patch new file mode 100644 index 0000000..e1ad3ec --- /dev/null +++ b/tcsh-6.14.00-remotehost.patch @@ -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. Name: tcsh Version: 6.14 -Release: 10 +Release: 11 License: distributable Group: System Environment/Shells 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 Patch9: tcsh-6.14.00-wide-seeks.patch Patch10: tcsh-6.14.00-spell-crash.patch +Patch11: tcsh-6.14.00-remotehost.patch Provides: csh = %{version} Prereq: fileutils, grep URL: http://www.tcsh.org/ @@ -45,6 +46,7 @@ like syntax. %patch8 -p1 -b .colors %patch9 -p1 -b .wide-seeks %patch10 -p1 -b .spell-crash +%patch11 -p1 -b .remotehost %build %configure --without-hesiod @@ -110,6 +112,9 @@ fi %{_mandir}/*/* %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 - Fix an uninitialized variable causing stack corruption (#197968) |