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

In article <>,
Carsten Kunze  <> wrote:
>Eduardo Horvath <> 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.

Can't you use fsync() then?


Home | Main Index | Thread Index | Old Index