Bash-4.3 patch 1
This commit is contained in:
parent
ac50fbac37
commit
f5c8237d0d
2 changed files with 4 additions and 3 deletions
|
@ -25,6 +25,6 @@
|
||||||
regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh
|
regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh
|
||||||
looks for to find the patch level (for the sccs version string). */
|
looks for to find the patch level (for the sccs version string). */
|
||||||
|
|
||||||
#define PATCHLEVEL 0
|
#define PATCHLEVEL 1
|
||||||
|
|
||||||
#endif /* _PATCHLEVEL_H_ */
|
#endif /* _PATCHLEVEL_H_ */
|
||||||
|
|
5
test.c
5
test.c
|
@ -646,8 +646,8 @@ unary_test (op, arg)
|
||||||
return (v && invisible_p (v) == 0 && var_isset (v) ? TRUE : FALSE);
|
return (v && invisible_p (v) == 0 && var_isset (v) ? TRUE : FALSE);
|
||||||
|
|
||||||
case 'R':
|
case 'R':
|
||||||
v = find_variable (arg);
|
v = find_variable_noref (arg);
|
||||||
return (v && invisible_p (v) == 0 && 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. */
|
/* We can't actually get here, but this shuts up gcc. */
|
||||||
|
@ -723,6 +723,7 @@ test_unop (op)
|
||||||
case 'o': case 'p': case 'r': case 's': case 't':
|
case 'o': case 'p': case 'r': case 's': case 't':
|
||||||
case 'u': case 'v': case 'w': case 'x': case 'z':
|
case 'u': case 'v': case 'w': case 'x': case 'z':
|
||||||
case 'G': case 'L': case 'O': case 'S': case 'N':
|
case 'G': case 'L': case 'O': case 'S': case 'N':
|
||||||
|
case 'R':
|
||||||
return (1);
|
return (1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue