|
|
Log in / Subscribe / Register

TALPA strides forward

TALPA strides forward

Posted Aug 28, 2008 10:30 UTC (Thu) by rvfh (guest, #31018)
In reply to: TALPA strides forward by liljencrantz
Parent article: TALPA strides forward

Looking at mtime should be enough, provided that we look for any change in it and not just for it to be greater that than of another file.

Let me explain: the time maybe wrong a one machine causing the mtime go backwards, like when editing a file that's on a build server share, but it is very unlikely that the mtime will be exactly the same as it was before edition.

It is quicker to check mtime for a change than checksuming the whole file.


to post comments

TALPA strides forward

Posted Sep 4, 2008 20:27 UTC (Thu) by renox (guest, #23785) [Link]

Mmm, in this case a version number attribute associated with each file would be better (if only because SW developers would be less likely to compare mtime of different files), though it may be a bit costly to maintain especially on CPU with don't have an atomic increase instruction..


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds