gcj.texi (libgcj Runtime Properties): Document gnu.gcj.user.realname.

gcc/java
	* gcj.texi (libgcj Runtime Properties): Document
	gnu.gcj.user.realname.
libjava
	* gnu/classpath/natSystemProperties.cc (insertSystemProperties):
	Set gnu.gcj.user.realname.

From-SVN: r114500
This commit is contained in:
Tom Tromey
2006-06-09 00:15:35 +00:00
committed by Tom Tromey
parent 879c22aca5
commit be9a52f844
4 changed files with 18 additions and 1 deletions
+2 -1
View File
@@ -1,7 +1,7 @@
// natSystemProperties.cc - Implementation of native side of
// SystemProperties class.
/* Copyright (C) 2005 Free Software Foundation
/* Copyright (C) 2005, 2006 Free Software Foundation
This file is part of libgcj.
@@ -250,6 +250,7 @@ gnu::classpath::SystemProperties::insertSystemProperties (java::util::Properties
{
SET ("user.name", pwd_entry->pw_name);
SET ("user.home", pwd_entry->pw_dir);
SET ("gnu.gcj.user.realname", pwd_entry->pw_gecos);
}
#endif /* HAVE_PWD_H */
#endif /* NO_GETUID */