Spotlight: Revert some changes to timestamps#2896
Spotlight: Revert some changes to timestamps#2896NJRoadfan wants to merge 1 commit intoNetatalk:mainfrom
Conversation
🤖 Augment PR SummarySummary: This PR rolls back Spotlight timestamp updates by removing the code path that applied Changes:
🤖 Was this summary useful? React with 👍 or 👎 |
|
Unless a |
|
@NJRoadfan can you take a look at this PR that might address the issue without reverting -- #2897 this resolves the issue I was seeing (host is Linux, client is macOS) do you see any reason why calling utimensat() every time here would be a bad idea? |
|
It should be fine for this use. Is utimensat() available on all platforms? I'm seeing references that older macOS (<10.13) don't support it and the call isn't used anywhere else in the Netatalk code base. |
|
utimensat is POSIX 1-2008 and contemporaneous with other at-functions that we rely on my second internalized justification was that the Spotlight stack (Localsearch or recent Tracker etc) is unlikely to be usable on older OSes anyways, so they won't be compiling this code that said a capability check for utimensat with a portable fallback is definitely the more prudent solution |
No description provided.