commit bash-20121130 snapshot

This commit is contained in:
Chet Ramey
2012-12-07 11:07:50 -05:00
parent 0500de0b2d
commit 3087e51c0e
25 changed files with 2339 additions and 55 deletions
+2 -2
View File
@@ -620,11 +620,11 @@ unary_test (op, arg)
case 'v':
v = find_variable (arg);
return (v && var_isset (v) ? TRUE : FALSE);
return (v && invisible_p (v) == 0 && var_isset (v) ? TRUE : FALSE);
case 'R':
v = find_variable (arg);
return (v && var_isset (v) && nameref_p (v) ? TRUE : FALSE);
return (v && invisible_p (v) == 0 && var_isset (v) && nameref_p (v) ? TRUE : FALSE);
}
/* We can't actually get here, but this shuts up gcc. */