diff --git a/bash-4.2-winch.dif b/bash-4.2-winch.dif new file mode 100644 index 00000000..ecce70c8 --- /dev/null +++ b/bash-4.2-winch.dif @@ -0,0 +1,25 @@ +--- jobs.c ++++ jobs.c 2013-07-12 12:19:03.000000000 +0000 +@@ -219,7 +219,7 @@ int already_making_children = 0; + + /* If this is non-zero, $LINES and $COLUMNS are reset after every process + exits from get_tty_state(). */ +-int check_window_size; ++int check_window_size = 1; + + /* Functions local to this file. */ + +--- builtins/shopt.def ++++ builtins/shopt.def 2006-03-27 12:15:25.000000000 +0000 +@@ -279,9 +279,9 @@ reset_shopt_options () + allow_null_glob_expansion = glob_dot_filenames = 0; + cdable_vars = mail_warning = 0; + no_exit_on_failed_exec = print_shift_error = 0; +- check_hashed_filenames = cdspelling = expand_aliases = check_window_size = 0; ++ check_hashed_filenames = cdspelling = expand_aliases = 0; + +- source_uses_path = promptvars = 1; ++ check_window_size = source_uses_path = promptvars = 1; + + #if defined (EXTENDED_GLOB) + extended_glob = 0; diff --git a/bash-4.2.dif b/bash-4.2.dif index e3d71b3f..c0897285 100644 --- a/bash-4.2.dif +++ b/bash-4.2.dif @@ -125,20 +125,6 @@ } else return (result); ---- builtins/shopt.def -+++ builtins/shopt.def 2006-03-27 12:15:25.000000000 +0000 -@@ -279,9 +279,9 @@ reset_shopt_options () - allow_null_glob_expansion = glob_dot_filenames = 0; - cdable_vars = mail_warning = 0; - no_exit_on_failed_exec = print_shift_error = 0; -- check_hashed_filenames = cdspelling = expand_aliases = check_window_size = 0; -+ check_hashed_filenames = cdspelling = expand_aliases = 0; - -- source_uses_path = promptvars = 1; -+ check_window_size = source_uses_path = promptvars = 1; - - #if defined (EXTENDED_GLOB) - extended_glob = 0; --- doc/Makefile.in +++ doc/Makefile.in 2006-03-27 12:15:25.000000000 +0000 @@ -142,7 +142,7 @@ BASHREF_FILES = $(srcdir)/bashref.texi $ diff --git a/bash.changes b/bash.changes index 3e660db1..213e9043 100644 --- a/bash.changes +++ b/bash.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Jul 12 12:35:26 UTC 2013 - werner@suse.de + +- Reintroduce patch bash-4.2-winch.dif to solve bnc#828877 + accordingly to my test and upstream (search on bug-bash@gnu.org + for message-id <51DFEB10.8080302@case.edu>) + ------------------------------------------------------------------- Mon Jul 8 11:27:51 UTC 2013 - werner@suse.de diff --git a/bash.spec b/bash.spec index 5dd185a4..591e875f 100644 --- a/bash.spec +++ b/bash.spec @@ -80,6 +80,8 @@ Patch15: bash-3.2-longjmp.dif Patch16: bash-4.0-setlocale.dif Patch17: bash-4.0-headers.dif Patch18: bash-4.2-nsec.dif +# PATCH-EXTEND-SUSE bnc#828877 -- xterm resizing does not pass to all sub clients +Patch19: bash-4.2-winch.dif Patch20: readline-%{rl_vers}.dif Patch21: readline-4.3-input.dif Patch22: readline-6.1-wrap.patch @@ -300,6 +302,7 @@ done %patch16 -p0 -b .setlocale %patch17 -p0 -b .headers %patch18 -p0 -b .nsec +%patch19 -p0 -b .winch %patch21 -p0 -b .zerotty %patch22 -p0 -b .wrap %patch23 -p0 -b .conf