From: Chet Ramey Date: Tue, 19 May 2015 18:55:37 +0000 (-0400) Subject: Bash-4.3 patch 36 X-Git-Tag: bash-4.4~11 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4e3e5312a5d2e3bd3a6cda70c3858111a5bcb489;p=thirdparty%2Fbash.git Bash-4.3 patch 36 --- diff --git a/patchlevel.h b/patchlevel.h index f457723b1..04f29739d 100644 --- a/patchlevel.h +++ b/patchlevel.h @@ -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_ */ diff --git a/variables.c b/variables.c index 81b7877e3..51aaf9cd9 100644 --- a/variables.c +++ b/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); }