Closed
Bug 16994
Opened 25 years ago
Closed 25 years ago
uxshm.c does not compile on platforms without long longs
Categories
(NSPR :: NSPR, defect, P3)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: wtc, Assigned: wtc)
Details
Attachments
(1 file)
1.67 KB,
patch
|
Details | Diff | Splinter Review |
On platforms without long longs, PRInt64 is emulated as a struct. So a 32-bit integer cannot be automatically converted to a PRInt64 by the compiler. In uxshm.c, we are passing a PRSize (which is an unsigned 32-bit integer on a 32-bit integer) or PRUint32 as the second argument to PR_CreateFileMap, which expects a PRInt64. So it doesn't compile on UnixWare and OpenServer, which don't have long longs. This problem is reported by cls@seawood.org in mozilla.patches.
Assignee | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•25 years ago
|
||
Assignee | ||
Updated•25 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 2•25 years ago
|
||
The fix is checked in. Reviewed by larryh. /cvsroot/mozilla/nsprpub/pr/src/md/unix/uxshm.c, revision 3.4 /m/src/ns/nspr20/pr/src/md/unix/uxshm.c, revision 1.10
You need to log in
before you can comment on or make changes to this bug.
Description
•