commit bash-20110520 snapshot

This commit is contained in:
Chet Ramey
2011-12-29 13:08:27 -05:00
parent f4f5e1c2b8
commit 22818c1449
16 changed files with 421 additions and 97 deletions
+5 -1
View File
@@ -309,7 +309,11 @@ static void
expr_bind_variable (lhs, rhs)
char *lhs, *rhs;
{
(void)bind_int_variable (lhs, rhs);
SHELL_VAR *v;
v = bind_int_variable (lhs, rhs);
if (v && (readonly_p (v) || noassign_p (v)))
longjmp (evalbuf, 1); /* variable assignment error */
stupidly_hack_special_variables (lhs);
}