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
@@ -1638,7 +1638,11 @@ get_current_user_info ()
/* Don't fetch this more than once. */
if (current_user.user_name == 0)
{
#if defined (__TANDEM)
entry = getpwnam (getlogin ());
#else
entry = getpwuid (current_user.uid);
#endif
if (entry)
{
current_user.user_name = savestring (entry->pw_name);