[CXX-451] Driver doesn't compile on systems without strnlen Created: 19/Dec/14  Updated: 11/Feb/15  Resolved: 09/Jan/15

Status: Closed
Project: C++ Driver
Component/s: Build
Affects Version/s: legacy-1.0.0-rc3
Fix Version/s: legacy-1.0.0-rc4

Type: Bug Priority: Major - P3
Reporter: Andrew Morrow (Inactive) Assignee: Adam Midvidy
Resolution: Done Votes: 0
Labels: legacy-cxx
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by CXX-452 Cannot build as shared library on Sol... Closed
Related

 Description   

In the fix for CXX-448, our (poor) fallback implementation of strnlen was dropped. We should consider adding a new (correct) one.



 Comments   
Comment by Githook User [ 09/Jan/15 ]

Author:

{u'username': u'amidvidy', u'name': u'Adam Midvidy', u'email': u'amidvidy@gmail.com'}

Message: CXX-451 polyfill strnlen for solaris
Branch: legacy
https://github.com/mongodb/mongo-cxx-driver/commit/7011598c1b179b132ff0aaceaff656738ba634e2

Comment by Adam Midvidy [ 08/Jan/15 ]

need this for CXX-452 so we can actually build on solaris.

Comment by Adam Midvidy [ 08/Jan/15 ]

https://github.com/mongodb/mongo-cxx-driver/pull/227

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