Closed Bug 1999381 Opened 1 day ago Closed 20 hours ago

Syntax error in parsetm.c (affects NSPR 4.38.1 and NSPR 4.36.1)

Categories

(NSPR :: NSPR, defect)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: KaiE, Assigned: KaiE)

References

Details

Attachments

(1 file)

Apologies, when I tried to avoid code duplication, I introduced a compiler error in the new parsetm.c test from bug 1999105

(Why didn't I run into that error when I locally build it...)

The library code should be unaffected, because Firefox or Thunderbird don't build the NSPR tests.

However, NSS is affected, because it builds all of NSPR.

Summary: Syntax error in parsetm.c in NSPR 4.38.1 and NSPR 4.36.1 → Syntax error in parsetm.c (affects NSPR 4.38.1 and NSPR 4.36.1)
Assignee: nobody → kaie
Status: NEW → ASSIGNED

Wan-Teh, the attached patch in phabricator restores your original approach for the test code.

(I had attempted to optimize by avoiding the repetitive use of the constant, and that build for me on Linux, but it fails to build on some platforms.)

Does this patch look ok to you?

Attachment #9525817 - Attachment description: Bug 1999381 - Fix build failure in parsetm.c on some platforms. r=wtc → Bug 1999381 - Fix build failure in parsetm.c on some platforms. r=wtc,#nss-reviewers
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: