[Bash-completion-devel] [bash-completion-Bugs][314710] badly-quoted-then-evaled var in _filedir_xspec triggers failglob
bash-completion-bugs at alioth.debian.org
bash-completion-bugs at alioth.debian.org
Mon Jun 9 21:20:34 UTC 2014
bash-completion-Bugs item #314710 was changed at 2014-06-10 01:20 by Igor Murzov
You can respond by visiting:
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=314710&group_id=100114
>Status: Closed
Priority: 3
Submitted By: Dams Nadé (anvil-guest)
Assigned to: Nobody (None)
Summary: badly-quoted-then-evaled var in _filedir_xspec triggers failglob
Distribution: None
Originally reported in: None
Milestone: 2.0
>Status: Fix Committed
Original bug number:
Initial Comment:
I've managed to "fix" 7z/vi/acroread test cases with failglob enabled by simply adding a pair of simple quotes in _filedir_xspec. The "proper" way would be to remove the eval in this line (see attached patch) instead, but my knowledge of the compgen/quote_readline combo is kinda limited.
----------------------------------------------------------------------
>Comment By: Igor Murzov (garik-guest)
Date: 2014-06-10 01:20
Message:
Looks like the issue is fixed in https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi?p=bash-completion/bash-completion.git;a=commit;h=b65232fa34e310cf357e2ff4b8921e50e260d294
Closing the ticket now.
Thanks for the patch.
----------------------------------------------------------------------
Comment By: Dams Nadé (anvil-guest)
Date: 2014-06-04 23:39
Message:
Here is the "git format-patch" version of the patch. Thank you for your patience.
----------------------------------------------------------------------
You can respond by visiting:
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=314710&group_id=100114
More information about the Bash-completion-devel
mailing list