Closed Bug 362255 Opened 19 years ago Closed 16 years ago

Support large files (>= 2GB) on OpenBSD.

Categories

(NSPR :: NSPR, enhancement)

All
OpenBSD
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: wtc, Assigned: wtc)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

NSPR should support large files (>= 2GB) on OpenBSD. This requires defining the appropriate macro (_PR_HAVE_LARGE_OFF_T or _PR_HAVE_OFF64_T) instead of _PR_NO_LARGE_FILES in mozilla/nsprpub/pr/include/md/_openbsd.h.
QA Contact: wtchang → nspr
Attached patch patchSplinter Review
OpenBSD should use _PR_HAVE_LARGE_OFF_T because sizeof(off_t) is 8 even if 32bit.
Attachment #442038 - Flags: review?(wtc)
Comment on attachment 442038 [details] [diff] [review] patch r=wtc. Thanks for the patch. I checked it in on the NSPR trunk (NSPR 4.8.5). Checking in _openbsd.h; /cvsroot/mozilla/nsprpub/pr/include/md/_openbsd.h,v <-- _openbsd.h new revision: 3.10; previous revision: 3.9 done
Attachment #442038 - Flags: review?(wtc) → review+
Makoto, should we apply the same patch to _netbsd.h?
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Target Milestone: --- → 4.8.5
(In reply to comment #3) > Makoto, should we apply the same patch to _netbsd.h? Yes. BSD 4.4 defines sizeof(off_t) == 8.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: