diff --git a/bash-completion.changes b/bash-completion.changes index 89808aa..c270254 100644 --- a/bash-completion.changes +++ b/bash-completion.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Mar 22 13:31:54 UTC 2024 - Dr. Werner Fink + +- Add patch boo1221414-scp.patch + * Do not replace the asignment of the array COMPREPLY with + the shell function _comp_compgen_split (boo#1221414) + ------------------------------------------------------------------- Fri Feb 23 09:56:03 UTC 2024 - Dr. Werner Fink diff --git a/bash-completion.spec b/bash-completion.spec index 083a650..d01f260 100644 --- a/bash-completion.spec +++ b/bash-completion.spec @@ -68,6 +68,8 @@ Patch11: bash-completion-2.7-unRAR-remove.patch Patch13: boo1190929-9af4afd0.patch # PATCH-FIX-SUSE boo#1199724 Patch14: bsc1199724-modules.patch +# PATCH-FIX-SUSE boo#1221414 -- shells/bash-completion: Bug +Patch15: boo1221414-scp.patch BuildRequires: libtool BuildRequires: pkgconfig BuildArch: noarch diff --git a/boo1221414-scp.patch b/boo1221414-scp.patch new file mode 100644 index 0000000..8d5f3ae --- /dev/null +++ b/boo1221414-scp.patch @@ -0,0 +1,17 @@ +Do not replace COMPREPLY with _comp_compgen_split() + +--- + completions/ssh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/completions/ssh ++++ b/completions/ssh 2024-03-22 13:27:49.715476006 +0000 +@@ -499,7 +499,7 @@ _comp_xfunc_scp_compgen_remote_files() + command sed -e 's/'"$_comp_cmd_scp__path_esc"'/\\\\\\&/g' -e 's/[*@|=]$//g' \ + -e 's/[^\/]$/& /g') + fi +- _comp_compgen_split -l -- "$_files" ++ COMPREPLY+=( $_files ) + } + + # @deprecated 2.12 use `_comp_compgen -ax ssh remote_files` instead