Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 320542

Summary: [Solaris] Remove dependency on inet_aton
Product: z_Archived Reporter: Mike Reid <mikereid>
Component: TPTPAssignee: Mike Reid <mikereid>
Status: CLOSED FIXED QA Contact: Kathy Chan <kathy>
Severity: normal    
Priority: P3 CC: jgwest
Version: unspecified   
Target Milestone: ---   
Hardware: Sun   
OS: Solaris   
Whiteboard:
Attachments:
Description Flags
patch
none
Updated patch none

Description Mike Reid CLA 2010-07-21 14:57:37 EDT
Solaris uses an ABI version scheme for system libraries. This change is to constrain the ABI version used to that available on Solaris 9. This enables builds to occur on newer Solaris ABI levels that can still be run on older machines.
Comment 1 Mike Reid CLA 2010-07-21 16:16:49 EDT
Upon further investigation the problem is introduced because of the dependency on inet_aton. In Solaris this function was undocumented and not part of any public ABI until Solaris 10. Solaris 9 provides inet_pton which provides similar functionality.

Patch attached which uses inet_pton in favour of inet_aton which then removes the dependency on the newer Solaris 10 ABI. Additionally this removes the dependency on libresolv.
Comment 2 Mike Reid CLA 2010-07-21 16:18:04 EDT
Created attachment 174912 [details]
patch
Comment 3 Mike Reid CLA 2010-07-21 16:28:07 EDT
Created attachment 174915 [details]
Updated patch
Comment 4 Mike Reid CLA 2010-07-21 17:03:54 EDT
Patch checked into HEAD.
Comment 5 Kathy Chan CLA 2011-02-11 13:45:34 EST
This defect had been resolved as FIXED for more than 1 month.  Please verify with the latest TPTP 4.7.2 driver.  If this defect is still left unverified by February 25, we'll close it on the originator's behalf.

TPTP 4.7.2 driver can be downloaded from:

http://www.eclipse.org/tptp/home/downloads/?ver=4.7.2
Comment 6 Mike Reid CLA 2011-02-11 14:50:10 EST
Closing.