Re: [Mingw-w64-public] distraction with gethostbyname with SysWOW64.

2009-03-10 Thread Wolfgang Glas
Kai Tietz schrieb: > 2009/3/10 Tor Lillqvist : >>> My question is: Is it possible to put write a workaround for this bug >>> either by >>> modifying the atrtached test code >> Use getaddrinfo() instead? > > Yes, this would be an alternative. No, unfortunately getaddrinfo() calls gethostbyName()

Re: [Mingw-w64-public] distraction with gethostbyname with SysWOW64.

2009-03-10 Thread Wolfgang Glas
Kai Tietz schrieb: > 2009/3/10 Tor Lillqvist : >>> My question is: Is it possible to put write a workaround for this bug >>> either by >>> modifying the atrtached test code >> Use getaddrinfo() instead? > > Yes, this would be an alternative. I've just seen, that omniORB has an alternative codepa

Re: [Mingw-w64-public] distraction with gethostbyname with SysWOW64.

2009-03-10 Thread Kai Tietz
2009/3/10 Tor Lillqvist : >> My question is: Is it possible to put write a workaround for this bug either >> by >> modifying the atrtached test code > > Use getaddrinfo() instead? Yes, this would be an alternative. >> or by adapting the gcc mingw-w32 toolchain? > > I don't think so. > > --tml >

Re: [Mingw-w64-public] distraction with gethostbyname with SysWOW64.

2009-03-10 Thread Tor Lillqvist
> My question is: Is it possible to put write a workaround for this bug either > by > modifying the atrtached test code Use getaddrinfo() instead? > or by adapting the gcc mingw-w32 toolchain? I don't think so. --tml

[Mingw-w64-public] distraction with gethostbyname with SysWOW64.

2009-03-10 Thread Wolfgang Glas
FYI, I've traccked down my problems with running 32bit executables compiled using mongw-w32-20090307 und Windows Xp x64 (SysWOW64 mode) to a bug in gethostbyname() in SysWOW64, which is tracked by the forum entry: http://social.msdn.microsoft.com/forums/en-US/vcgeneral/thread/521a5524-5a5b-4de1-a