Article View: news.software.nntp
Article #15781Re: patch for nnrpd 1.5.1 to mmap .overview files
From: bill davidsen
Date: Wed, 12 Mar 1997 00:00
Date: Wed, 12 Mar 1997 00:00
21 lines
1450 bytes
1450 bytes
In article <5g1u60$q41@flea.best.net>, Matt Dillon <dillon@flea.best.net> wrote: | Warning warning will robinson! | | Many operating systems do not allow you to mmap() a file beyond it's | logical end-of-file. If the file size falls on a page boundry, and you | try to mmap(..., size + 1, ...), many OS's will not allow it and mmap() | will return an error. Good thing the original code says it rounds up to the end of the highest page used. I'm not totally sure why you need to go beyond the size of the file, I assume that some systems require the size in even page multiples. -- -bill davidsen (davidsen@tmr.com) "As a software development model, Anarchy does not scale well." -Dave Welch
Technical Details
Message-ID:
<5g7d1h$2v4a@newssvr05-int.news.prodigy.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<331EE55D.1493@cwix.net> <slrn5i7kg8.4gs.coneill@blah.erols.com> <5g0pba$dot$1@news.demos.su> <5g1u60$q41@flea.best.net>Show Full Headers
Complete Article Headers
Message-ID: <5g7d1h$2v4a@newssvr05-int.news.prodigy.com> Subject: Re: patch for nnrpd 1.5.1 to mmap .overview files Date: Wed, 12 Mar 1997 00:00:00 +0000 From: davidsen@tmr.com (bill davidsen) References: <331EE55D.1493@cwix.net> <slrn5i7kg8.4gs.coneill@blah.erols.com> <5g0pba$dot$1@news.demos.su> <5g1u60$q41@flea.best.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 225046275 Organization: TMR Associates, Schenectady NY Newsgroups: news.software.nntp Originator: davidsen@darkstar.prodigy.com