[CDRIVER-2013] Autotools may skip substitution of MONGOC_HAVE_SOCKLEN Created: 01/Feb/17  Updated: 01/Feb/17  Resolved: 01/Feb/17

Status: Closed
Project: C Driver
Component/s: libmongoc
Affects Version/s: None
Fix Version/s: 1.6.0

Type: Bug Priority: Major - P3
Reporter: Jeremy Mikola Assignee: Hannes Magnusson
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by PHPC-892 Upgrade libbson and libmongoc to 1.6.0 Closed
Related
is related to CDRIVER-1973 Add support for HPUX Closed

 Description   

Per this GitHub comment, it looks like the AC_CHECK_TYPE for socket_t may leave MONGOC_HAVE_SOCKLEN unreplaced if the check fails. Contrast that with the CMake scripts, which do replace it with 0 if the type is not found.



 Comments   
Comment by Githook User [ 01/Feb/17 ]

Author:

{u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}

Message: CDRIVER-2013 Autotools may skip substitution of MONGOC_HAVE_SOCKLEN
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/b97de7d024ac4d4aa69c770eaec0443aff43b941

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