fix to backslash quoting of glob pattern characters; allow newly-loaded compspecs to be used in more cases; fixes to the cross-compiling environment; avoid potential overflow in GLOBSORT processing

This commit is contained in:
Chet Ramey
2024-05-20 10:48:44 -04:00
parent b3d8c8a4e7
commit dbd27e54cc
18 changed files with 120 additions and 51 deletions
+2 -2
View File
@@ -1564,7 +1564,7 @@ programmable_completions (const char *cmd, const char *word,
#endif
lastcs = 0;
found = count = 0;
count = 0;
pcomp_line = rl_line_buffer;
pcomp_ind = rl_point;
@@ -1574,7 +1574,7 @@ programmable_completions (const char *cmd, const char *word,
do
{
retry = 0;
retry = found = 0;
/* We look at the basename of CMD if the full command does not have
an associated COMPSPEC. */