Closed Bug 1734838 Opened 4 months ago Closed 3 months ago

Remove null termination in CallLikelySubtags in Locale.cpp

Categories

(Core :: Internationalization, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
95 Branch
Tracking Status
firefox95 --- fixed

People

(Reporter: dminor, Assigned: anba)

Details

Attachments

(1 file)

Follow up to https://phabricator.services.mozilla.com/D126984#inline-702686, we can remove the null termination in CallLikelySubtags.

Assignee: nobody → andrebargull
Status: NEW → ASSIGNED

We no longer need to null-terminate the result of CallLikelySubtags, because
the computed string isn't passed back to ICU anymore. Also update AssignFromLocaleId
now that the string isn't null-terminated anymore.

Pushed by andre.bargull@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/8908969773aa
Remove null termination in CallLikelySubtags. r=platform-i18n-reviewers,dminor
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 95 Branch
You need to log in before you can comment on or make changes to this bug.