commit bash-20110218 snapshot

This commit is contained in:
Chet Ramey
2011-12-29 13:04:06 -05:00
parent e192f34170
commit 9c2db99939
43 changed files with 26837 additions and 82 deletions
+4
View File
@@ -164,7 +164,11 @@ sh_get_home_dir ()
home_dir = (char *)NULL;
#if defined (HAVE_GETPWUID)
# if defined (__TANDEM)
entry = getpwnam (getlogin ());
# else
entry = getpwuid (getuid ());
# endif
if (entry)
home_dir = entry->pw_dir;
#endif