This is the mail archive of the java-discuss@sourceware.cygnus.com mailing list for the GCJ project. See the GCJ home page for more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
>>>>> "Bryce" == Bryce McKinlay <bryce@albatross.co.nz> writes: Bryce> On a Redhat 5.2 system (and presumibly any other glibc 2.0.7 Bryce> based system), InetAddress.getByName throws an exception for Bryce> any addresses that are not defined in /etc/hosts Bryce> The patch below increases the size of the buffer to 1024 so Bryce> that gethostbyname_r doesn't fail (glibc uses this value Bryce> internally, so it should be sufficient) Thanks for the patch. I'm checking in a variant which only changes the buffer size for glibc 2.0. Tom