commit bash-20130118 snapshot

This commit is contained in:
Chet Ramey
2013-02-05 16:43:50 -05:00
parent ad4aef0831
commit f0c4de40a4
15 changed files with 15331 additions and 249 deletions
-27
View File
@@ -4108,33 +4108,6 @@ put_command_name_into_env (command_name)
update_export_env_inplace ("_=", 2, command_name);
}
#if 0 /* UNUSED -- it caused too many problems */
void
put_gnu_argv_flags_into_env (pid, flags_string)
intmax_t pid;
char *flags_string;
{
char *dummy, *pbuf;
int l, fl;
pbuf = itos (pid);
l = strlen (pbuf);
fl = strlen (flags_string);
dummy = (char *)xmalloc (l + fl + 30);
dummy[0] = '_';
strcpy (dummy + 1, pbuf);
strcpy (dummy + 1 + l, "_GNU_nonoption_argv_flags_");
dummy[l + 27] = '=';
strcpy (dummy + l + 28, flags_string);
free (pbuf);
export_env = add_or_supercede_exported_var (dummy, 0);
}
#endif
/* **************************************************************** */
/* */
/* Managing variable contexts */