Mailinglist Archive: opensuse-bugs (8114 mails)

< Previous Next >
[Bug 206431] time stamp of mmaped file not updated
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Thu, 22 Feb 2007 09:03:49 -0700 (MST)
  • Message-id: <20070222160349.0CAC9DA3@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=206431





------- Comment #12 from mszeredi@xxxxxxxxxx 2007-02-22 09:03 MST -------
(In reply to comment #11)

> Time before write(): 1172157245
> Time before mmap(): 1172157246
> Time before write reference: 1172157247
> Time before msync(): 1172157250
> atime1: 1172157246, atime2: 1172157246
> ctime1: 1172157245, ctime2: 1172157250
> mtime1: 1172157245, mtime2: 1172157250
> Test Fail mmap/14-1.c st_atime was not updated properly

Hmm. Maybe the testcase is wrong. POSIX doesn't say anything about
st_atime in msync(). It says that st_atime() must be updated between mmap()
and munmap(), and it looks like it _is_ updated in mmap().


--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

< Previous Next >