summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChet Ramey <chet.ramey@case.edu>2011-11-23 19:24:53 -0500
committerChet Ramey <chet.ramey@case.edu>2011-11-23 19:24:53 -0500
commitcdd796540cf235ad4b5d4a892570aba697c7fb61 (patch)
tree347164ccfb9aec71f44d57a696fc861b358bdf26
parent86cfd01f1d547422a1fb0365719491a355847dc0 (diff)
downloadreadline-cdd796540cf235ad4b5d4a892570aba697c7fb61.tar.gz
Readline-6.1.002 import
-rw-r--r--complete.c4
-rw-r--r--patchlevel2
-rw-r--r--readline.h4
3 files changed, 5 insertions, 5 deletions
diff --git a/complete.c b/complete.c
index ad9ca05..bda2204 100644
--- a/complete.c
+++ b/complete.c
@@ -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);
diff --git a/patchlevel b/patchlevel
index d8c9df7..7cbda82 100644
--- a/patchlevel
+++ b/patchlevel
@@ -1,3 +1,3 @@
# Do not edit -- exists only for use by patch
-0
+2
diff --git a/readline.h b/readline.h
index 7a4ffaa..8a8d45a 100644
--- a/readline.h
+++ b/readline.h
@@ -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. */