Bash-4.3 patch 36
This commit is contained in:
parent
e57a256f4e
commit
4e3e5312a5
2 changed files with 7 additions and 5 deletions
10
variables.c
10
variables.c
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue