mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-06-29 00:19:51 +02:00
commit bash-20160415 snapshot
This commit is contained in:
@@ -87,6 +87,9 @@ convert_var_to_array (var)
|
||||
VSETATTR (var, att_array);
|
||||
VUNSETATTR (var, att_invisible);
|
||||
|
||||
/* Make sure it's not marked as an associative array any more */
|
||||
VUNSETATTR (var, att_assoc);
|
||||
|
||||
return var;
|
||||
}
|
||||
|
||||
@@ -118,6 +121,9 @@ convert_var_to_assoc (var)
|
||||
VSETATTR (var, att_assoc);
|
||||
VUNSETATTR (var, att_invisible);
|
||||
|
||||
/* Make sure it's not marked as an indexed array any more */
|
||||
VUNSETATTR (var, att_array);
|
||||
|
||||
return var;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user