mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-11 22:20:49 +02:00
commit bash-20120817 snapshot
This commit is contained in:
+4
-4
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user