Closed Bug 622144 Opened 15 years ago Closed 15 years ago

code must include string.h to use memset

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: espindola, Assigned: espindola)

References

Details

(Whiteboard: fixed-in-tracemonkey)

Attachments

(1 file)

Attached patch add includeSplinter Review
js/src/jsutil.h using memset but doesn't include string.h. The attached patch fixes it.
Attachment #500369 - Attachment is patch: true
A couple notes: - You want this "This is patch" checked for the attachment. I already did that for you. - In the future, you also want 8 lines of context instead of the default 3. For that, see https://developer.mozilla.org/en/Mercurial_FAQ#How_can_I_customize_the_format_of_the_patches_Mercurial_creates.3f
Attachment #500369 - Flags: review?(dmandelin) → review+
Keywords: checkin-needed
OS: Mac OS X → Windows 7
Summary: Uses memset without including string.h → code must include string.h to use memset
OS: Windows 7 → Mac OS X
This needs approval before it can land on mozilla-central.
Assignee: general → respindola
Keywords: checkin-needed
Ping on the approval2.0?
Attachment #500369 - Flags: approval2.0? → approval2.0+
Status: NEW → ASSIGNED
Keywords: checkin-needed
Whiteboard: fixed-in-tracemonkey
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: