Bash-4.3 patch 36

This commit is contained in:
Chet Ramey 2015-05-19 14:55:37 -04:00
commit 4e3e5312a5
2 changed files with 7 additions and 5 deletions

View file

@ -2833,10 +2833,12 @@ bind_int_variable (lhs, rhs)
#endif
v = bind_variable (lhs, rhs, 0);
if (v && isint)
VSETATTR (v, att_integer);
VUNSETATTR (v, att_invisible);
if (v)
{
if (isint)
VSETATTR (v, att_integer);
VUNSETATTR (v, att_invisible);
}
return (v);
}