natSystem.cc (init_properties): Don't set user.name or user.home if NO_GETUID defined.

* java/lang/natSystem.cc (init_properties): Don't set user.name or
	user.home if NO_GETUID defined.  Only set user.dir if getcwd
	exists.

	* include/config.h.in: Rebuilt.
	* acconfig.h (NO_GETUID): New define.
	* configure.in: Rebuilt.
	* configure.in: Define NO_GETUID in cross case.  Check for getcwd
	in native case.

From-SVN: r30964
This commit is contained in:
Tom Tromey
1999-12-15 22:38:56 +00:00
committed by Tom Tromey
parent 5a626f11f4
commit 6150df627a
6 changed files with 926 additions and 555 deletions
+6
View File
@@ -135,6 +135,9 @@
/* Define if using setjmp/longjmp exceptions. */
#undef SJLJ_EXCEPTIONS
/* Define if getuid() and friends are missing. */
#undef NO_GETUID
/* Define if you have the access function. */
#undef HAVE_ACCESS
@@ -147,6 +150,9 @@
/* Define if you have the ftime function. */
#undef HAVE_FTIME
/* Define if you have the getcwd function. */
#undef HAVE_GETCWD
/* Define if you have the gethostbyaddr_r function. */
#undef HAVE_GETHOSTBYADDR_R