[Bug 3649] New: PowerPC Mac OS X server browser failing...
bugzilla-daemon at icculus.org
bugzilla-daemon at icculus.org
Sat May 17 04:02:17 EDT 2008
http://bugzilla.icculus.org/show_bug.cgi?id=3649
Summary: PowerPC Mac OS X server browser failing...
Product: Quake 3
Version: SVN HEAD
Platform: Macintosh
OS/Version: MacOS X
Status: NEW
Severity: major
Priority: P3
Component: Platform
AssignedTo: zakk at icculus.org
ReportedBy: icculus at icculus.org
QAContact: quake3-bugzilla at icculus.org
I assume this is either a bug in PowerPC OS X, or a bug in Intel OS X, but the
behaviour is different between the two.
Basically: the server browser is hosed. It gives this error as it queries each
server in the list:
Sys_StringToSockaddr: Error resolving 209.51.138.221: Bad hints
LAN browsing worked, because Sys_StringToSockaddr() specified a real value for
(family), whereas Internet browsing appears to leave this as AF_UNSPEC.
Passing a NULL hint structure instead of a pointer to a zero'd out one fixes
the issue on PowerPC OS X, so I'm attaching a patch that does so if the family
is unspecified.
This patch should be harmless on Intel Mac OS X, but appears to work without
it, so it might be that our code is fine, and this is a workaround for an OS
bug.
Haven't tested this recently on 10.4, but it looks like this net code is new
since the last time I tried, so it may not be a 10.5-specific thing.
--ryan.
--
Configure bugmail: http://bugzilla.icculus.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
More information about the quake3-bugzilla
mailing list