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

@ -25,6 +25,6 @@
regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh
looks for to find the patch level (for the sccs version string). */
#define PATCHLEVEL 35
#define PATCHLEVEL 36
#endif /* _PATCHLEVEL_H_ */

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);
}