commit bash-20140425 snapshot

This commit is contained in:
Chet Ramey
2014-04-30 16:54:12 -04:00
parent 0d9b018b93
commit b4a17eba68
16 changed files with 212 additions and 28 deletions
+2 -2
View File
@@ -191,7 +191,7 @@ int have_devfd = 0;
#endif
/* The name of the .(shell)rc file. */
static char *bashrc_file = "~/.bashrc";
static char *bashrc_file = DEFAULT_BASHRC;
/* Non-zero means to act more like the Bourne shell on startup. */
static int act_like_sh;
@@ -1801,7 +1801,7 @@ shell_reinitialize ()
/* Ensure that the default startup file is used. (Except that we don't
execute this file for reinitialized shells). */
bashrc_file = "~/.bashrc";
bashrc_file = DEFAULT_BASHRC;
/* Delete all variables and functions. They will be reinitialized when
the environment is parsed. */