commit bash-20200825 snapshot

This commit is contained in:
Chet Ramey
2020-09-01 14:43:43 -04:00
parent e4d38c2d74
commit c261f9b80c
13 changed files with 153 additions and 32 deletions
+2 -2
View File
@@ -148,7 +148,7 @@ static int complete_fncmp PARAMS((const char *, int, const char *, int));
static void display_matches PARAMS((char **));
static int compute_lcd_of_matches PARAMS((char **, int, const char *));
static int postprocess_matches PARAMS((char ***, int));
static int compare_match PARAMS((const char *, const char *));
static int compare_match PARAMS((char *, const char *));
static int complete_get_screenwidth PARAMS((void));
static char *make_quoted_replacement PARAMS((char *, int, char *));
@@ -1969,7 +1969,7 @@ _rl_free_match_list (char **matches)
MATCH that is the product of filename completion, which acts on the dequoted
text. */
static int
compare_match (const char *text, const char *match)
compare_match (char *text, const char *match)
{
char *temp;
int r;
+2 -1
View File
@@ -65,7 +65,8 @@
#define SF_FOUND 0x02
#define SF_FAILED 0x04
#define SF_CHGKMAP 0x08
#define SF_PATTERN 0x10 /* unused so far */
#define SF_PATTERN 0x10
#define SF_NOCASE 0x20 /* unused so far */
typedef struct __rl_search_context
{