mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-07 18:52:35 +02:00
commit bash-20050810 snapshot
This commit is contained in:
+15
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user