commit bash-20170217 snapshot

This commit is contained in:
Chet Ramey
2017-02-22 11:10:10 -05:00
parent ac495185aa
commit 514049fa8e
37 changed files with 604 additions and 828 deletions
+1
View File
@@ -1238,6 +1238,7 @@ maybe_make_restricted (name)
temp++;
if (restricted || (STREQ (temp, RESTRICTED_SHELL_NAME)))
{
stupidly_hack_special_variables ("PATH"); /* clear hash table */
set_var_read_only ("PATH");
set_var_read_only ("SHELL");
set_var_read_only ("ENV");