commit bash-20050810 snapshot

This commit is contained in:
Chet Ramey
2011-12-03 13:49:42 -05:00
parent f5635ecdc9
commit 055a1bf5bc
16 changed files with 978 additions and 787 deletions
+15
View File
@@ -3736,6 +3736,10 @@ static struct name_and_function special_vars[] = {
{ "HISTTIMEFORMAT", sv_histtimefmt },
#endif
#if defined (__CYGWIN__)
{ "HOME", sv_home },
#endif
#if defined (READLINE)
{ "HOSTFILE", sv_hostfile },
#endif
@@ -3924,6 +3928,17 @@ sv_hostfile (name)
}
#endif /* READLINE */
/* Update the value of HOME in the export environment so tilde expansion will
work on cygwin. */
#if defined (__CYGWIN__)
sv_home (name)
char *name;
{
array_needs_making = 1;
maybe_make_export_env ();
}
#endif
#if defined (HISTORY)
/* What to do after the HISTSIZE or HISTFILESIZE variables change.
If there is a value for this HISTSIZE (and it is numeric), then stifle