Your message dated Sun, 15 Nov 2015 10:13:00 +0000
with message-id <[email protected]>
and subject line Bug#804773: Removed package(s) from unstable
has caused the Debian Bug report #711878,
regarding boo: bash completion script modifies global COMP_WORDBREAKS
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
711878: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=711878
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: boo
Version: 0.9.5~git20110729.r1.202a430-2
Severity: wishlist
Justification: unpackaged, bug present in source package
Tags: upstream patch

Hi,

boo's bash completion script overwrites COMP_WORDBREAKS globally,
affecting other completion scripts, instead of pasting words
together locally using the _get_comp_words_by_ref function
(see that function's documentation in /etc/bash_completion for
details).  Here's a ("git am --scissors"-ready) patch to fix that.

Thanks and hope that helps,
Jonathan

-- >8 --
Subject: bash completion: do not overwrite global COMP_WORDBREAKS variable

Override its value locally using the "-n" option to the
_get_comp_words_by_ref helper instead.  This should ensure that other
completion scripts are not affected by the change to the list of
word-breaking characters.
---
 extras/boo-completion.bash | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/extras/boo-completion.bash b/extras/boo-completion.bash
index cb367d1c..bdfb3dc6 100755
--- a/extras/boo-completion.bash
+++ b/extras/boo-completion.bash
@@ -6,9 +6,8 @@ _booc()
 {
        local cur
 
-       COMP_WORDBREAKS=${COMP_WORDBREAKS//:}
        COMPREPLY=()
-       cur=${COMP_WORDS[COMP_CWORD]}
+       _get_comp_words_by_ref -n : cur
 
        if [[ "$cur" == -* ]]; then
                COMPREPLY=( $( compgen -W '-help -v -vv -vvv \
@@ -28,9 +27,8 @@ _booi()
 {
        local cur
 
-       COMP_WORDBREAKS=${COMP_WORDBREAKS//:}
        COMPREPLY=()
-       cur=${COMP_WORDS[COMP_CWORD]}
+       _get_comp_words_by_ref -n : cur
 
        if [[ "$cur" == -* ]]; then
                COMPREPLY=( $( compgen -W '\
@@ -49,9 +47,8 @@ _booish()
 {
        local cur
 
-       COMP_WORDBREAKS=${COMP_WORDBREAKS//:}
        COMPREPLY=()
-       cur=${COMP_WORDS[COMP_CWORD]}
+       _get_comp_words_by_ref -n : cur
 
        if [[ "$cur" == -* ]]; then
                COMPREPLY=( $( compgen -W '\
-- 
1.8.3

--- End Message ---
--- Begin Message ---
Version: 0.9.5~git20110729.r1.202a430-2+rm

Dear submitter,

as the package boo has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/804773

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].

Debian distribution maintenance software
pp.
Luca Falavigna (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to