[Vm-dev] Re: Bug#631193: uses obsolete gethostbyaddr instead of getaddrinfo

Bert Freudenberg bert at freudenbergs.de
Tue Jun 21 10:39:29 UTC 2011

On 21.06.2011, at 12:22, Daniel Baumann wrote:

> Package: squeak-vm
> Version: 1:
> Please use gethostbyaddr instead of getaddrinfo - gethostbyaddr doesn't
> work correctly on any newer system (>=squeeze) which results in
> squeak-vm logging with the *local* ip ( instead of the hostname.
> upgrading from lenny to squeeze and facing that hundreds of squeak
> images and all of them logging with instead of their hostname
> is a major pita.
> Regards,
> Daniel

Actually, squeak-vm already supports both styles of address resolution. In your Squeak image you need to switch to the new primitives.

See e.g.


If you have a SocketPlugin patch to make the old primitives work better, please submit it upstream (Squeak's vm-dev list). This would allow to use old Squeak images unchanged.

- Bert -

More information about the Vm-dev mailing list