[CDRIVER-1386] Create bson_ascii_str[n]casecmp() Created: 15/Jul/16  Updated: 07/May/18  Resolved: 14/Feb/17

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

Type: Improvement Priority: Trivial - P5
Reporter: Hannes Magnusson Assignee: A. Jesse Jiryu Davis
Resolution: Done Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

We use strcasecmp a fair amount in mongoc and therefore have a quick windows-workaround for it in src/mongoc/mongoc-util-private.h.

libbson has couple of uses for strcasecmp now to, so it makes sense to unify these all in libbson.

To that end, we should create bson_ascii_strcasecmp()



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

Author:

{u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}

Message: CDRIVER-1386 add bson_strcasecmp
Branch: master
https://github.com/mongodb/libbson/commit/331cb421f49bd72e7cc998cc00bf39b26367418e

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