lkml.org 
[lkml]   [2003]   [May]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Question about memory-mapped files
On Wed, 28 May 2003, John M Collins wrote:
>
> Thanks - FYI the file mod time eventually got updated on HP-UX but not
> on Solaris (2.9) or Linux (2.4.21) - and it doesn't seem to update it
> even if you don't close the f.d. I think that has to be wrong if the
> manual page is anything to go by.

I agree with you. I hate files being modified without mtime changing,
and the mmap(2) man page is so surprisingly specific about those times
that I bet the text comes directly from one of the standards.

It's not something I'm rushing to fix; but I've made a note to
look at it later (days not hours) if nobody else gets there first.
It may turn out to be too difficult to get right - mmap and [amc]time
don't fit well together; but that text you've noticed at least gives
something to aim for - thanks.

Hugh

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:35    [W:0.052 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site