From 4e3e5312a5d2e3bd3a6cda70c3858111a5bcb489 Mon Sep 17 00:00:00 2001 From: Chet Ramey Date: Tue, 19 May 2015 14:55:37 -0400 Subject: [PATCH] Bash-4.3 patch 36 --- patchlevel.h | 2 +- variables.c | 10 ++++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/patchlevel.h b/patchlevel.h index f457723..04f2973 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 81b7877..51aaf9c 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); }