http://bugs.winehq.org/show_bug.cgi?id=8533
------- Additional Comments From damjan.jov@gmail.com 2007-01-06 02:15 ------- Created an attachment (id=6533) --> (http://bugs.winehq.org/attachment.cgi?id=6533&action=view) gethostbyname("") should work
Ok I think I've found the problem, gethostbyname("") works on Windows and fails on wine. I've already sent the patch to wine-patches, but here it is if you can't wait :-).