[ingo] Procmail vacation script -- ctime vs mtime

Zachary Kotlarek zach at kotlarek.com
Sat Jan 22 23:39:05 UTC 2011


On Jan 22, 2011, at 11:43 AM, Jan Schneider wrote:

> This piece of code seem to have been working fine for the last 7 years for everyone else, so I'm a but reluctant to change it, especially since I don't use procmail.
> 
> This is the patch that added it: http://git.horde.org/diff.php/ingo/lib/Script/procmail.php?rev=1.51&rt=horde&r1=1.44&r2=1.45


In many cases it does work; absent inode modifications ctime and mtime are always the same. But when they are different I don't know why you'd prefer the ctime.

I emailed the contributor noted in the original patch (or at least tried -- as you noted it's quite old). Maybe they can explain the intent.

	Zach

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2746 bytes
Desc: not available
URL: <http://lists.horde.org/archives/ingo/attachments/20110122/2f5d85b5/attachment.bin>


More information about the ingo mailing list