Closed Bug 4736 Opened 21 years ago Closed 21 years ago

The sccs and rcs id strings are optimized away by the compiler.

Categories

(NSPR :: NSPR, defect, P3)

SGI
IRIX
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: wtc, Assigned: wtc)

Details

The sccs and rcs id strings we embed in
our libraries are static variables with
no references to them.  The IRIX cc compiler
optimizes away these unused variables, and
hence the 'what' and 'ident' commands can't
find any NSPR version strings in our libraries
on IRIX.

The fix is to add dummy references to the
sccs and rcs id strings in the same files.
Status: NEW → ASSIGNED
The fix is checked into NSPRPUB_RELEASE_3_1_BRANCH.
/cvsroot/mozilla/nsprpub/lib/libc/src/plvrsion.c, revision 3.3.14.1
/cvsroot/mozilla/nsprpub/pr/src/prvrsion.c, revision 3.3.14.1.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
The fix is checked into the tip.
/cvsroot/mozilla/nsprpub/lib/libc/src/plvrsion.c, revision 3.4
/cvsroot/mozilla/nsprpub/pr/src/prvrsion.c, revision 3.4
NSPR now has its own Bugzilla product.  Moving this bug to the NSPR product.
this fix is not visible to qa. if you think this bug should be reopened,
please do so.

will mark as verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.