Closed Bug 521506 Opened 16 years ago Closed 16 years ago

NJ merge: fix lirasm puts tests

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: graydon, Assigned: graydon)

References

Details

(Whiteboard: fixed-in-tracemonkey)

Attachments

(1 file)

Attached patch fix the bugSplinter Review
A couple lirasm tests assume that puts() returns the count of characters it wrote, which it does on linux, but it's not guaranteed by spec (only non-negative return). On mac and windows, it doesn't. This patch fixes the problem.
Attachment #405597 - Flags: review?(gal)
oh oops, I called the variable nz; it should be something like nn. I'll change that.
Attachment #405597 - Flags: review?(gal) → review+
Whiteboard: fixed-in-tracemonkey
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Flags: in-testsuite-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: