This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Drop MAXHOSTNAMELEN dependency


Andrew Haley schrieb:
> Samuel Thibault writes:
>  > Samuel Thibault, le Tue 24 Jul 2007 23:13:54 +0200, a écrit :
>  > > Some systems don't have such hard limit as MAXHOSTNAMELEN, here is a
>  > > patch to fix gcc on them.
>  > 
>  > Could someone apply it?
>  > 
>  > Samuel
>  > libjava/ChangeLog
>  > 2007-07-24  Samuel Thibault  <samuel.thibault@ens-lyon.org>
>  > 
>  > 	* java/net/natVMInetAddressPosix.cc
>  > 	(java::net::VMInetAddress::getLocalHostname) [!MAXHOSTNAMELEN]:
>  > 	Allocate buffer dynamically.
>  > 
> 
> This is OK.

tested on i686-linux, checked in.

  Matthias


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]