]> sipb.mit.edu Git - ikiwiki.git/commit
aggregate: Avoid resetting ctime when an item md5 changes.
authorJoey Hess <joey@kitenet.net>
Fri, 12 Jun 2009 23:31:18 +0000 (19:31 -0400)
committerJoey Hess <joey@kitenet.net>
Fri, 12 Jun 2009 23:31:23 +0000 (19:31 -0400)
commit91513466877df4329567f2cc73b6719999394258
treee5894f524f3bc08992975b5e4ffe490038585297
parent90b4d079605b72bb50d1da41402d994960e10937
aggregate: Avoid resetting ctime when an item md5 changes.

Besides being wrong to do, this could lead to the wrong item
being expired, as follows: If B is added and at the same time
A is changed, then A's ctime may be set to the current time,
while B's is set to its creation time. Thus the new item, A,
is incorrectly removed as older.

(This interacted especially badly with the bug fixed by
90b4d079605b72bb50d1da41402d994960e10937.)
IkiWiki/Plugin/aggregate.pm
debian/changelog