Initialize for bash
This commit is contained in:
commit
e367703cd4
44 changed files with 5010 additions and 0 deletions
20
bash-4.1-completion.dif
Normal file
20
bash-4.1-completion.dif
Normal file
|
@ -0,0 +1,20 @@
|
|||
---
|
||||
bashline.c | 7 +++++++
|
||||
1 file changed, 7 insertions(+)
|
||||
|
||||
--- bashline.c
|
||||
+++ bashline.c 2016-09-14 08:54:09.315700369 +0000
|
||||
@@ -2029,6 +2029,13 @@ globword:
|
||||
return ((char *)NULL);
|
||||
}
|
||||
|
||||
+ if (GLOB_FAILED (glob_matches) || glob_matches == 0)
|
||||
+ {
|
||||
+ glob_ignore_case = old_glob_ignore_case;
|
||||
+ glob_matches = (char **)NULL;
|
||||
+ return ((char *)NULL);
|
||||
+ }
|
||||
+
|
||||
while (val = glob_matches[local_index++])
|
||||
{
|
||||
if (executable_or_directory (val))
|
Loading…
Add table
Add a link
Reference in a new issue