-
Type:
Improvement
-
Resolution: Done
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: Internal Code
-
Fully Compatible
-
Build 7 08/10/15, Build 8 08/31/15
Some systems we target (sometimes) like Solaris 10 don't have strnlen. We should add a configure check and optional polyfill for this function.
The legacy C++ driver already does this, see:
In the server repo, this function should probably live in mongo/stdx/string and be called stdx::strnlen.