]> arthur.barton.de Git - netatalk.git/commit
Spotlight: file modification date, bug #545
authorRalph Boehme <rb@sernet.de>
Tue, 1 Apr 2014 10:15:32 +0000 (12:15 +0200)
committerRalph Boehme <rb@sernet.de>
Tue, 1 Apr 2014 10:21:19 +0000 (12:21 +0200)
commit534d25ad6989a2aa47a67f856ce2cc23c6e1e5b7
treea28840e62e0968ae688e6848b04272bcf6f382ab
parent7b0a0f81f0098d9996710703a6530f26d46e90db
Spotlight: file modification date, bug #545

The Spotlight module misleadingly updated a files modification date
when the client requested an "kMDItemLastUsedDate" attribute update.

It's questionable whether we're expected at all to map and modify
attributes to filesystem metadata, but my guess is we are.

As a fix, use "kMDItemFSContentChangeDate" attribute instead of
"kMDItemLastUsedDate".

Fixes bug #545.
NEWS
etc/afpd/spotlight.c