[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 2 21:05:19 UTC 2014


bash-completion-Bugs item #314710, was opened at 02/06/2014 23:05 by Dams Nadé
You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=314710&group_id=100114

Status: Open
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: None
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.

----------------------------------------------------------------------

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