commit bash-20120817 snapshot

This commit is contained in:
Chet Ramey
2012-09-13 11:52:12 -04:00
parent 9711fdc50f
commit 200aed9a45
19 changed files with 23369 additions and 1717 deletions
+4 -4
View File
@@ -375,7 +375,7 @@ initialize_shell_variables (env, privmode)
name[char_index - 2] = '('; /* ) */
}
#if defined (ARRAY_VARS)
# if 0
# if ARRAY_EXPORT
/* Array variables may not yet be exported. */
else if (*string == '(' && string[1] == '[' && string[strlen (string) - 1] == ')')
{
@@ -386,7 +386,7 @@ initialize_shell_variables (env, privmode)
VSETATTR (temp_var, (att_exported | att_imported));
array_needs_making = 1;
}
# endif
# endif /* ARRAY_EXPORT */
#endif
#if 0
else if (legal_identifier (name))
@@ -3803,11 +3803,11 @@ make_env_array_from_var_list (vars)
value = named_function_string ((char *)NULL, function_cell (var), 0);
#if defined (ARRAY_VARS)
else if (array_p (var))
# if 0
# if ARRAY_EXPORT
value = array_to_assignment_string (array_cell (var));
# else
continue; /* XXX array vars cannot yet be exported */
# endif
# endif /* ARRAY_EXPORT */
else if (assoc_p (var))
# if 0
value = assoc_to_assignment_string (assoc_cell (var));