Drop MAXHOSTNAMELEN dependency
Andrew Haley
aph-gcc@littlepinkcloud.COM
Wed Aug 8 09:35:00 GMT 2007
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.
Andrew.
More information about the Java-patches
mailing list