Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Setting mtime doesn't work after copying a file with mmap



Eduardo Horvath <eeh%NetBSD.org@localhost> wrote:

> Is the file descriptor still open at the time of the munmap?

Yes. I open the files, then do many mmap->munmap in a loop (for large files--I don't map the whole file at once), then use futimes then close.

Carsten


Home | Main Index | Thread Index | Old Index