* 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
+2006-06-08 Tom Tromey <tromey@redhat.com>
+
+ * gcj.texi (libgcj Runtime Properties): Document
+ gnu.gcj.user.realname.
+
2006-06-08 Andrew Haley <aph@redhat.com>
* expr.c (build_field_ref): Pass NULL_TREE as SPECIAL arg to
used, or the program binary name in the case where an application is compiled
to a native binary.
+@item gnu.gcj.user.realname
+The real name of the user, as taken from the password file. This may
+not always hold only the user's name (as some sites put extra
+information in this field). Also, this property is not available on
+all platforms.
+
@item gnu.gcj.runtime.NameFinder.use_addr2line
Whether an external process, @command{addr2line}, should be used to determine
line number information when tracing the stack. Setting this to @code{false}
+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@.
// 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.
{
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 */