Module Name: src Committed By: ast Date: Sun Oct 6 21:05:50 UTC 2013
Modified Files: src/bin/sh: expand.c src/tests/bin/sh: t_expand.sh Log Message: Fix PR bin/48202 [non-critical/low]: sh +nounset and `for X; do` iteration fails if parameter set empty by applying and testing FreeBSD's patch of Oct 24 2009 for this; see http://svnweb.freebsd.org/base/head/bin/sh/expand.c?r1=198453&r2=198454 Also created an ATF test in tests/bin/sh/t_expand.sh for this error and corrected a space->tabs problem there as well. To generate a diff of this commit: cvs rdiff -u -r1.89 -r1.90 src/bin/sh/expand.c cvs rdiff -u -r1.1 -r1.2 src/tests/bin/sh/t_expand.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.