Open hoodmane opened 1 week ago
@sbc100 the tests assert that ctime
changed. But mtime
and atime
should not change. These are all a single property in the memfs, so without recording distinct times for them we can't satisfy both requirements at once...
I guess I'll just remove the assertions that say the time did change then.
Probably this merits a changelog entry yes.
This improves posix compliance of the file system.
Consider the following file:
Compiling and running with
gcc
vsemcc
gives different output because the chmod updated the mtime of the file in Emscripten but not in linux: