http://bugs.winehq.org/show_bug.cgi?id=12837
Andrew Eleneski aeleneski@comcast.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|INVALID |
--- Comment #6 from Andrew Eleneski aeleneski@comcast.net 2008-04-27 18:20:41 --- (In reply to comment #5)
This is the code around 3247:
if (retval->h_addr_list == 127 && strcmp(name, "localhost") != 0) { /* hostname != "localhost" but has loopback address. replace by our * special address.*/ memcpy(retval->h_addr_list[0], magic_loopback_addr, 4); }
That's not what the code looks like upstream. Check http://source.winehq.org/git/wine.git/?a=blob;f=dlls/ws2_32/socket.c;h=1fe00...
or manually fix the line to be
if (retval->h_addr_list[0][0] == 127 &&
However, if that line is corrupted, others probably are broken as well.
Ok, well I redownloaded all code, checked the socket.c file and it shows as you have stated. But I still get the stack trace.