Micha Nelissen wrote: > [EMAIL PROTECTED] wrote: >>> Ok, so how about: when the file was written less than margin+1 seconds >>> ago, it has to be precisely the same, otherwise there may be a margin. >> >> >> Why play with arbitrary (as far as I can see) margins. There is >> something >> like checksums. On a typical sourcefile like we use (25kb for lazarus) >> this should take a few msecs not much more and is robust and easy to >> implement. Just do the checksum if fileage suggests that the files >> are the >> same. > > If timestamps change a lot on network drives, people don't want the > overhead of retrieving the file all the time. Some error margin of > about 1 or 2 seconds is then preferred. It can always be an option > though. Hehe, right now I'd be happy just having the darn warning disabled with a check box! I invariably click in the source, then try to start typing in the code without looking at the screen and the dialog has popped up. 3 lines of source later I look over and realize nothing I typed went in the editor.
-Tony _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives