[CDRIVER-2080] Check param types of getpeername, etc., with CMake (for HP-UX) Created: 08/Mar/17  Updated: 27/Mar/17  Resolved: 24/Mar/17

Status: Closed
Project: C Driver
Component/s: Build, libmongoc
Affects Version/s: None
Fix Version/s: 1.6.2

Type: New Feature Priority: Minor - P4
Reporter: A. Jesse Jiryu Davis Assignee: A. Jesse Jiryu Davis
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to CDRIVER-2015 Detect socket API param types with Au... Closed

 Description   

In CDRIVER-2015 I added Autotools logic for detecting the varying parameter types for getpeername, getsockopt, etc., on some very old and nonstandard platforms. The CMake build system does not do this detection, it just defaults them to reasonable types. Consider whether and how to replicate the Autotools logic in CMake.



 Comments   
Comment by A. Jesse Jiryu Davis [ 24/Mar/17 ]

r1.6:

https://github.com/mongodb/mongo-c-driver/commit/3cc9320419e18e2565c1e7e2bd77296c2e20dac7

Comment by Githook User [ 24/Mar/17 ]

Author:

{u'username': u'malexzx', u'name': u'Aleksander Melnikov', u'email': u'a.melnikov69@gmail.com'}

Message: CDRIVER-2080 cmake checks socket API params

Necessary for HP-UX and other legacy platforms.
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/9feb9772409771d8116616ae9e65e79b46d8eed8

Generated at Wed Feb 07 21:14:06 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.