]> git.ipfire.org Git - thirdparty/bash.git/commitdiff
Bash-4.3 patch 36
authorChet Ramey <chet.ramey@case.edu>
Tue, 19 May 2015 18:55:37 +0000 (14:55 -0400)
committerChet Ramey <chet.ramey@case.edu>
Tue, 19 May 2015 18:55:37 +0000 (14:55 -0400)
patchlevel.h
variables.c

index f457723b14aa7f1616800cffc05ce501206f8b41..04f29739da5fdda4450ec83c491f607368174fba 100644 (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_ */
index 81b7877e32e8001cc2b74c30463113d06ea1b647..51aaf9cd99b047200b3695b8df5d77a8f83af750 100644 (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);
 }