diff options
-rw-r--r-- | complete.c | 4 | ||||
-rw-r--r-- | patchlevel | 2 | ||||
-rw-r--r-- | readline.h | 4 |
3 files changed, 5 insertions, 5 deletions
@@ -2138,7 +2138,7 @@ rl_filename_completion_function (text, state) All other entries except "." and ".." match. */ if (filename_len == 0) { - if (_rl_match_hidden_files == 0 && HIDDEN_FILE (entry->d_name)) + if (_rl_match_hidden_files == 0 && HIDDEN_FILE (convfn)) continue; if (convfn[0] != '.' || @@ -2219,7 +2219,7 @@ rl_filename_completion_function (text, state) temp[dirlen++] = '/'; } - strcpy (temp + dirlen, entry->d_name); + strcpy (temp + dirlen, convfn); } else temp = savestring (convfn); @@ -1,3 +1,3 @@ # Do not edit -- exists only for use by patch -0 +2 @@ -39,9 +39,9 @@ extern "C" { #endif /* Hex-encoded Readline version number. */ -#define RL_READLINE_VERSION 0x0600 /* Readline 6.0 */ +#define RL_READLINE_VERSION 0x0601 /* Readline 6.1 */ #define RL_VERSION_MAJOR 6 -#define RL_VERSION_MINOR 0 +#define RL_VERSION_MINOR 1 /* Readline data structures. */ |