Re: 1352 NUL bytes at the end of a page? (was Re: Assertion `s && s->tree' failed: The saga continues.)

Albert Cahalan
2004-05-17T17:58:41Z

Larry McVoy writes:

> But the bigger problem is that you are missing the point
> that I mentioned elsewhere, we are writing to a tmp file,
> the tmp file is NOT mmapped. We mmap only after that file
> is closed and renamed. We don't map the tmp file.

Recent glibc versions will sometimes use mmap() for stdio.