GNOME Bugzilla – Bug 628966
Fix the attempted_completion_function binding in Readline
Last modified: 2010-09-17 10:31:46 UTC
Readline.attempted_completion_function is currently bound to rl_attempt_completion_function, which doesn't exist. Patch attached to fix this.
Created attachment 169676 [details] [review] Fix the attempted_completion_function binding in Readline
Created attachment 169682 [details] [review] Fix the signature of CompletionFunc in Readline Here's another patch, which fixes the signature of CompletionFunc. It was attempting to add an array length parameter, which broke things completely. (rl_attempted_completion_function uses a NULL-terminated array.)
Created attachment 169683 [details] [review] Fix the cname of CompentryFunc in Readline
Created attachment 169684 [details] [review] Fix the completion_matches binding in Readline
commit f5cae3c0a23e8be0b4c13a4486930a3d55bd8986 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Tue Sep 7 17:06:58 2010 +0100 readline: fix the completion_matches binding commit e0a4980d3413c833be0da931eafb7e8de28c3ba9 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Tue Sep 7 17:06:26 2010 +0100 readline: fix the cname of CompentryFunc commit 87b4b42523f130976ca548b93011b9cfa70746bd Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Tue Sep 7 16:37:00 2010 +0100 readline: fix the signature of CompletionFunc commit 4126f5be3f9fbdf3f15c3d088954c88006d7e8ec Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Tue Sep 7 16:10:31 2010 +0100 readline: fix the attempted_completion_function binding Fixes bug 628966.
Any chance these could be cherry-picked to 0.10 as well? Thanks.