polynomial-c 14/04/26 20:14:20 Added: bash-4.3-complete-dequoting.patch Log: Added another upstream fix. Removed old (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC)
Revision Changes Path 1.1 app-shells/bash/files/bash-4.3-complete-dequoting.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/bash/files/bash-4.3-complete-dequoting.patch?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/bash/files/bash-4.3-complete-dequoting.patch?rev=1.1&content-type=text/plain Index: bash-4.3-complete-dequoting.patch =================================================================== *** ../bash-4.3-patched/bashline.c 2014-02-09 19:56:58.000000000 -0500 --- bashline.c 2014-04-25 14:57:52.000000000 -0400 *************** *** 4168,4174 **** qc = rl_dispatching ? rl_completion_quote_character : 0; ! dfn = bash_dequote_filename ((char *)text, qc); m1 = rl_completion_matches (dfn, rl_filename_completion_function); ! free (dfn); if (m1 == 0 || m1[0] == 0) --- 4209,4222 ---- qc = rl_dispatching ? rl_completion_quote_character : 0; ! /* If rl_completion_found_quote != 0, rl_completion_matches will call the ! filename dequoting function, causing the directory name to be dequoted ! twice. */ ! if (rl_dispatching && rl_completion_found_quote == 0) ! dfn = bash_dequote_filename ((char *)text, qc); ! else ! dfn = (char *)text; m1 = rl_completion_matches (dfn, rl_filename_completion_function); ! if (dfn != text) ! free (dfn); if (m1 == 0 || m1[0] == 0)
