diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-02-23 05:52:00 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-02-23 05:52:00 +0000 |
commit | 87bcd057760d66ed7ed4c28a350a51161770bfb4 (patch) | |
tree | 68dc7922d6fc8d40d75f227c06edc83990b8a3a8 /app-shells/bash/files | |
parent | add ~amd64, bug 259603 (diff) | |
download | gentoo-2-87bcd057760d66ed7ed4c28a350a51161770bfb4.tar.gz gentoo-2-87bcd057760d66ed7ed4c28a350a51161770bfb4.tar.bz2 gentoo-2-87bcd057760d66ed7ed4c28a350a51161770bfb4.zip |
Add fix from upstream for escaped semicolons in $(...) subshells.
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'app-shells/bash/files')
-rw-r--r-- | app-shells/bash/files/bash-4.0-comsub-backslash-metacharacters.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/app-shells/bash/files/bash-4.0-comsub-backslash-metacharacters.patch b/app-shells/bash/files/bash-4.0-comsub-backslash-metacharacters.patch new file mode 100644 index 000000000000..e47a14369d8c --- /dev/null +++ b/app-shells/bash/files/bash-4.0-comsub-backslash-metacharacters.patch @@ -0,0 +1,17 @@ +http://lists.gnu.org/archive/html/bug-bash/2009-02/msg00147.html + +*** ../bash-4.0/parse.y 2009-01-08 08:29:12.000000000 -0500 +--- parse.y 2009-02-22 16:08:54.000000000 -0500 +*************** +*** 3307,3311 **** + + /* Meta-characters that can introduce a reserved word. Not perfect yet. */ +! if MBTEST((tflags & LEX_RESWDOK) == 0 && (tflags & LEX_CKCASE) && (tflags & LEX_INCOMMENT) == 0 && shellmeta(ch)) + { + /* Add this character. */ +--- 3307,3311 ---- + + /* Meta-characters that can introduce a reserved word. Not perfect yet. */ +! if MBTEST((tflags & LEX_PASSNEXT) == 0 && (tflags & LEX_RESWDOK) == 0 && (tflags & LEX_CKCASE) && (tflags & LEX_INCOMMENT) == 0 && shellmeta(ch)) + { + /* Add this character. */ |