diff --git a/ksh-20100309-restoretty.patch b/ksh-20100309-restoretty.patch index 6e3a5ea..b362d82 100644 --- a/ksh-20100309-restoretty.patch +++ b/ksh-20100309-restoretty.patch @@ -9,7 +9,7 @@ before exit, otherwise we end up with a terminal that cannot echo. #endif /* SHOPT_ACCT */ #if SHOPT_VSH || SHOPT_ESH - if(sh_isoption(SH_EMACS)||sh_isoption(SH_VI)||sh_isoption(SH_GMACS)) -+ if(sh_isoption(mbwide()||SH_EMACS)||sh_isoption(SH_VI)||sh_isoption(SH_GMACS)) ++ if(mbwide()||sh_isoption(SH_EMACS)||sh_isoption(SH_VI)||sh_isoption(SH_GMACS)) tty_cooked(-1); #endif #ifdef JOBS diff --git a/ksh.spec b/ksh.spec index 4c1bea5..8e711aa 100644 --- a/ksh.spec +++ b/ksh.spec @@ -6,7 +6,7 @@ URL: http://www.kornshell.com/ Group: System Environment/Shells License: CPL Version: 20100309 -Release: 2%{?dist} +Release: 3%{?dist} Source0: http://www.research.att.com/~gsf/download/tgz/ast-ksh.%{releasedate}.tgz Source1: http://www.research.att.com/~gsf/download/tgz/INIT.%{releasedate}.tgz Source3: kshrc.rhs @@ -95,6 +95,9 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Mon Mar 29 2010 Michal Hlavinka - 20100309-3 +- fix typo in last patch + * Fri Mar 26 2010 Michal Hlavinka - 20100309-2 - restore tty settings after timed out read for utf-8 locale