mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-09 05:00:49 +02:00
fix crash from compgen in a non-interactive shell; globstar option now works with complete -G; wait -p changes; some int->size_t changes
This commit is contained in:
+1
-1
@@ -4341,7 +4341,7 @@ bash_quote_filename (s, rtype, qcp)
|
||||
/* We may need to quote additional characters: those that readline treats
|
||||
as word breaks that are not quoted by backslash_quote. */
|
||||
/* XXX - test complete_fullquote here? */
|
||||
if (rtext && cs == COMPLETE_BSQUOTE)
|
||||
if (rtext && cs == COMPLETE_BSQUOTE && rl_completer_word_break_characters)
|
||||
{
|
||||
mtext = quote_word_break_chars (rtext);
|
||||
free (rtext);
|
||||
|
||||
Reference in New Issue
Block a user