diff options
author | Tom Tromey <tromey@redhat.com> | 2006-06-09 00:15:35 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 2006-06-09 00:15:35 +0000 |
commit | be9a52f844dca45090fbcc660efeb26b2afb4a5a (patch) | |
tree | c92e74b2bd02ae16b1bca6e5595ff6350a9c1c16 /libjava | |
parent | 879c22aca5e78def0871f341772e3bb2767f5a9c (diff) | |
download | gcc-be9a52f844dca45090fbcc660efeb26b2afb4a5a.zip gcc-be9a52f844dca45090fbcc660efeb26b2afb4a5a.tar.gz gcc-be9a52f844dca45090fbcc660efeb26b2afb4a5a.tar.bz2 |
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
Diffstat (limited to 'libjava')
-rw-r--r-- | libjava/ChangeLog | 5 | ||||
-rw-r--r-- | libjava/gnu/classpath/natSystemProperties.cc | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index b9b30da..b08cf78 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,8 @@ +2006-06-08 Tom Tromey <tromey@redhat.com> + + * gnu/classpath/natSystemProperties.cc (insertSystemProperties): + Set gnu.gcj.user.realname. + 2006-06-09 Andreas Tobler <a.tobler@schweiz.ch> * scripts/jar.in: Replace hardcoded /bin/sh with @SHELL@. diff --git a/libjava/gnu/classpath/natSystemProperties.cc b/libjava/gnu/classpath/natSystemProperties.cc index 2a39e07..9f77a17 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 */ |