ports/shells/bash/files/patch-braces.c
Oliver Eikemeier 47f3195355 Fix process substitution on systems without fdescfs (FreeBSD 5.x, 6.x)
While I'm here, use the official patchset instead of the custom ones
and reflect the port revision in the version number.

Submitted by:	Reinhard Speyerer <rspmn@arcor.de>
Approved by:	portmgr (krion)
2004-10-09 10:16:33 +00:00

17 lines
325 B
C

#
# Fix brace expansion following quoted text
#
# http://lists.gnu.org/archive/html/bug-bash/2004-09/msg00255.html
#
--- braces.c.orig Wed Sep 8 11:07:53 2004
+++ braces.c Fri Sep 17 18:42:36 2004
@@ -402,7 +402,8 @@
{
pass_next = 1;
i++;
- level++;
+ if (quoted == 0)
+ level++;
continue;
}
#endif