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
This commit is contained in:
parent
80e93e9adf
commit
3d79e10b31
@ -1,3 +1,8 @@
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user