changes for quoting special and multibyte characters in glob patterns; changes to filename unicode normalization on macOS for globbing and filename completion; send SIGCONT unconditionally to just-restarted job in fg/bg

This commit is contained in:
Chet Ramey
2023-07-25 10:18:35 -04:00
parent ad39c5c3d7
commit 8418224f32
27 changed files with 624 additions and 462 deletions
+12
View File
@@ -2536,6 +2536,18 @@ rl_filename_completion_function (const char *text, int state)
}
filename_len = strlen (filename);
/* Normalize the filename if the application has set a rewrite hook. */
if (*filename && rl_filename_rewrite_hook)
{
temp = (*rl_filename_rewrite_hook) (filename, filename_len);
if (temp != filename)
{
xfree (filename);
filename = temp;
filename_len = strlen (filename);
}
}
rl_filename_completion_desired = 1;
}