UI bugs hampering porting effort for shaped window

Rein Klazes rklazes at xs4all.nl
Fri Oct 31 05:01:01 CST 2003


On Thu, 30 Oct 2003 10:59:40 -0800, you wrote:

> 
> Hi Mike,
> 
> bug 1541 is still *not* fixed correctly. See when passing in NULL in windows
> to gethostbyname, it is guarenteed to return a list of local IP addresses
> mapped on the box. However, with WINE, passing NULL causes gethostname to be
> passed into gethostbyname and does *not* always return back the list of
> local IP addresses on the box.

When I implemented the case that name == NULL ( another call for help, I
wasn't aware of your bug report, sorry), the only reference I could find
was this:

| If null is provided in the name parameter, the returned string is the same
| as the string returned by a successful gethostname function call.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winsock/winsock/gethostbyname_2.asp

Small detail: gethostbyname does not return a string, but this is what I
guessed the intention of the writer was.

Can you point to any documentation where this guarantee is specified?

Rein.
-- 
Rein Klazes
rklazes at xs4all.nl



More information about the wine-devel mailing list