Skip to contentSkip to conversation

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

DISCUSSION Albert Cahalan 1 participant 1 message May 17, 2004

lore
Share & tools
lore
#0 lore raw
Quoted 4 lines · Larry McVoy

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.