Commit 3d79e10b by Tom Tromey Committed by Tom Tromey

natSystem.cc (init_properties): Only declare pwd_entry once.

	* java/lang/natSystem.cc (init_properties): Only declare pwd_entry
	once.  From Anthony Green.

From-SVN: r26545
parent 80e93e9a
1999-04-19 Tom Tromey <tromey@cygnus.com>
* java/lang/natSystem.cc (init_properties): Only declare pwd_entry
once. From Anthony Green.
1999-04-19 Andrew Haley <aph@cygnus.com>
* Makefile.in: Processed with new automake.
......
......@@ -276,7 +276,7 @@ java::lang::System::init_properties (void)
buf_r = (char *) _Jv_AllocBytes (len_r);
}
#else
struct passwd *pwd_entry = getpwuid (user_id);
pwd_entry = getpwuid (user_id);
#endif /* HAVE_GETPWUID_R */
if (pwd_entry != NULL)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment