commit bash-20200124 snapshot

This commit is contained in:
Chet Ramey
2020-01-27 09:25:05 -05:00
parent 9831556ed0
commit 11bb038e13
10 changed files with 226 additions and 101 deletions
+7 -1
View File
@@ -3789,7 +3789,13 @@ assign_in_env (word, flags)
array_needs_making = 1;
if (flags)
stupidly_hack_special_variables (newname);
{
#if 0 /* TAG:bash-5.1 from Martijn Dekker */
if (STREQ (newname, "POSIXLY_CORRECT") || STREQ (newname, "POSIX_PEDANDTIC"))
save_posix_options (); /* XXX one level of saving right now */
#endif
stupidly_hack_special_variables (newname);
}
if (echo_command_at_execute)
/* The Korn shell prints the `+ ' in front of assignment statements,