This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

_IO_file_underflow_mmap read call for atime


The POSIX rules for mmap on files require that mmap'ing and reading a page
set the atime.  I don't see how the rules for stdio affecting atime (via
the "underlying functions" clauses) could be violated by the libio mmap'd
buffer implementation if mmap behaves as specified.  So the read call in
_IO_file_underflow_mmap is unnecessary.  Am I missing something?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]