Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 320542 - [Solaris] Remove dependency on inet_aton
Summary: [Solaris] Remove dependency on inet_aton
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: TPTP (show other bugs)
Version: unspecified   Edit
Hardware: Sun Solaris
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Mike Reid CLA
QA Contact: Kathy Chan CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-21 14:57 EDT by Mike Reid CLA
Modified: 2016-05-05 10:59 EDT (History)
1 user (show)

See Also:


Attachments
patch (2.61 KB, patch)
2010-07-21 16:18 EDT, Mike Reid CLA
no flags Details | Diff
Updated patch (2.61 KB, patch)
2010-07-21 16:28 EDT, Mike Reid CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.