Use the cstr crate instead of the macro added in bug 1542528

RESOLVED FIXED in Firefox 68

Status

()

defect
RESOLVED FIXED
a month ago
a month ago

People

(Reporter: emilio, Assigned: emilio)

Tracking

unspecified
mozilla68
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox68 fixed)

Details

Attachments

(1 attachment)

In bug 1542528, a new c_str macro was added. Xidorn maintains the cstr crate which we use in the style system.

We should use that instead rather than having two implementations, probably.

Assignee

Updated

a month ago
Assignee: nobody → emilio

Also, this checks for strings with nulls, which is nice (though I guess an
uncommon mistake).

Comment 2

a month ago
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/43c7c3f10a71
Use std::ffi::CStr and the cstr crate instead of custom stuff in xpcom. r=lina

Comment 3

a month ago
bugherder
Status: NEW → RESOLVED
Last Resolved: a month ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
You need to log in before you can comment on or make changes to this bug.