summaryrefslogtreecommitdiffstats
path: root/libjava/gnu
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2006-06-09 00:15:35 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2006-06-09 00:15:35 +0000
commit4e6b76bee95d93cb1975b0332495e02d1a28fad2 (patch)
treec92e74b2bd02ae16b1bca6e5595ff6350a9c1c16 /libjava/gnu
parentfc196c3c27e8f49a67c0505e70e503ff564f9204 (diff)
downloadppe42-gcc-4e6b76bee95d93cb1975b0332495e02d1a28fad2.tar.gz
ppe42-gcc-4e6b76bee95d93cb1975b0332495e02d1a28fad2.zip
gcc/java
* gcj.texi (libgcj Runtime Properties): Document gnu.gcj.user.realname. libjava * gnu/classpath/natSystemProperties.cc (insertSystemProperties): Set gnu.gcj.user.realname. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114500 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/gnu')
-rw-r--r--libjava/gnu/classpath/natSystemProperties.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/libjava/gnu/classpath/natSystemProperties.cc b/libjava/gnu/classpath/natSystemProperties.cc
index 2a39e079b8a..9f77a1790c3 100644
--- a/libjava/gnu/classpath/natSystemProperties.cc
+++ b/libjava/gnu/classpath/natSystemProperties.cc
@@ -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 */
OpenPOWER on IntegriCloud