polynomial-c 14/06/05 06:30:18 Added: bash-4.3-here-doc-ps2-comsub.patch Log: Added upstream fix (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-here-doc-ps2-comsub.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/bash/files/bash-4.3-here-doc-ps2-comsub.patch?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/bash/files/bash-4.3-here-doc-ps2-comsub.patch?rev=1.1&content-type=text/plain Index: bash-4.3-here-doc-ps2-comsub.patch =================================================================== *** ../bash-4.3-patched/shell.h 2012-12-25 21:11:01.000000000 -0500 --- shell.h 2014-06-03 09:24:28.000000000 -0400 *************** *** 169,173 **** int expand_aliases; int echo_input_at_read; ! } sh_parser_state_t; --- 169,174 ---- int expand_aliases; int echo_input_at_read; ! int need_here_doc; ! } sh_parser_state_t; *** ../bash-4.3-patched/parse.y 2014-05-14 09:16:40.000000000 -0400 --- parse.y 2014-04-30 09:27:59.000000000 -0400 *************** *** 2643,2647 **** r = 0; ! while (need_here_doc) { parser_state |= PST_HEREDOC; --- 2643,2647 ---- r = 0; ! while (need_here_doc > 0) { parser_state |= PST_HEREDOC; *************** *** 6076,6079 **** --- 6076,6080 ---- ps->expand_aliases = expand_aliases; ps->echo_input_at_read = echo_input_at_read; + ps->need_here_doc = need_here_doc; ps->token = token; *************** *** 6124,6127 **** --- 6125,6129 ---- expand_aliases = ps->expand_aliases; echo_input_at_read = ps->echo_input_at_read; + need_here_doc = ps->need_here_doc; FREE (token);