Bug 2649 - network init crashes on OSX 10.4
Status: RESOLVED FIXED
Alias: None
Product: ioquake3
Classification: Unclassified
Component: Platform
Version: 1.33 SVN
Hardware: Macintosh MacOS X
: P2 normal
Assignee: Zachary J. Slater
QA Contact: ioquake3 bugzilla mailing list
URL: http://tjw.org/tremulous/macosx/
Depends on:
Blocks:
 
Reported: 2006-04-12 10:34 EDT by Tony J. White
Modified: 2007-05-21 11:25:30 EDT
1 user (show)

See Also:


Attachments
fix IFR_NEXT macro to work with modern OSX (1.84 KB, patch)
2006-04-12 10:35 EDT, Tony J. White

Description Tony J. White 2006-04-12 10:34:34 EDT
OSX 10.4 (probably other versions too) lack the if_addr.sa_len member of the ifreq struct.  As a result, the IFR_NEXT macro in unix/unix_net.c causes a crash.  This patch should work even with versions of OSX that did have it.
Comment 1 Tony J. White 2006-04-12 10:35:11 EDT
Created attachment 864 [details]
fix IFR_NEXT macro to work with modern OSX
Comment 2 Ryan C. Gordon 2007-05-21 11:25:30 EDT
Setting a QA contact on all ioquake3 bugs, even resolved ones. Sorry if you get a flood of email from this, it should only happen once. Apologies for the incovenience.

--ryan.