summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-01-13 19:06:06 +0000
committerMike Frysinger <vapier@gentoo.org>2007-01-13 19:06:06 +0000
commitee1ca202da762a5ac12b45095c78891bdf89ed23 (patch)
tree4abd676eaebdf428db395a258200fd5131d148f9 /app-shells
parentMove timezone update to pkg_config so people can refresh it automatically as ... (diff)
downloadgentoo-2-ee1ca202da762a5ac12b45095c78891bdf89ed23.tar.gz
gentoo-2-ee1ca202da762a5ac12b45095c78891bdf89ed23.tar.bz2
gentoo-2-ee1ca202da762a5ac12b45095c78891bdf89ed23.zip
dont use the deprecated readline function completion_matches
Diffstat (limited to 'app-shells')
-rw-r--r--app-shells/sash/files/sash-3.6-readline.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/app-shells/sash/files/sash-3.6-readline.patch b/app-shells/sash/files/sash-3.6-readline.patch
index c30fcb59e4d5..2d2d2a4d51a8 100644
--- a/app-shells/sash/files/sash-3.6-readline.patch
+++ b/app-shells/sash/files/sash-3.6-readline.patch
@@ -171,7 +171,7 @@ diff -ruN sash-3.6/sash.c sash-3.6.readline/sash.c
+ to complete. Otherwise it is the name of a file in the current
+ directory. */
+ if (start == 0) // is it the begin of string ?
-+ matches = completion_matches (text, command_generator);
++ matches = rl_completion_matches (text, command_generator);
+ return (matches);
+}
+