Closed Bug 5788 Opened 25 years ago Closed 25 years ago

/usr/bin/ident on HP-UX only recognizes standard RCS keywords

Categories

(NSPR :: NSPR, defect, P3)

3.1.1
HP
HP-UX
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: wtc, Assigned: wtc)

Details

The OS is HP-UX 11.00 (both 32-bit and 64-bit). The NSPR release is 3.1.1. HP-UX has an 'ident' program in /usr/bin that only recognizes standard RCS keywords. So the nonstandard 'Version' keyword embedded in NSPR shared libraries are not recognized by /usr/bin/ident, and it warns that "no id keywords in libxxx.sl". The 'ident' that comes with the latest RCS distribution (e.g., /tools/ns/bin/ident on Netscape machines) recognizes any keyword that conforms to the '$<keyword>: <value> $' pattern. I am not sure we should use the standard RCS keyword 'Revision' for NSPR version. I think it's a bad idea because 'Revision' should be reserved to mean the RCS revision of the file.
The 'ident' command on HP-UX also recognizes fewer keywords compared to other platforms. One of the standard keywords can be used to encode the NSPR's version number on HP-UX. I suggest the 'Header' keyword.
Status: NEW → ASSIGNED
I agree that the "Header" keyword is the closest match to our version information string among the standard rcs keywords. I fixed the internal tree to use the "Header" keyword instead of the nonstandard "Version" that we were using. /m/src/ns/nspr20/pr/src/prvrsion.c, revisions 2.10-2.13 /m/src/ns/nspr20/lib/libc/src/plvrsion.c, revision 2.7 /m/src/ns/nspr20/lib/ds/plvrsion.c, revision 2.3 /m/src/ns/nspr20/lib/prstrms/plvrsion.c, revision 2.3
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
The fix has been merged to cvs.mozilla.org.
You need to log in before you can comment on or make changes to this bug.