The following commit has been merged in the master branch:
commit 35c795bdbbbd8e151224ae0518ea49788205c6d0
Author: Guillaume Rousse <[email protected]>
Date:   Sat Apr 3 19:10:13 2010 +0200

    ensure offset is computed correctly in multibytes locales

diff --git a/bash_completion b/bash_completion
index d14d0af..024b4e0 100644
--- a/bash_completion
+++ b/bash_completion
@@ -407,6 +407,7 @@ __get_comp_words_by_ref()
 #
 _get_cword()
 {
+    local LC_CTYPE=C
     local cword words
     __reassemble_comp_words_by_ref "$1" words cword
 

-- 
bash-completion

_______________________________________________
Bash-completion-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/bash-completion-commits

Reply via email to