summaryrefslogtreecommitdiff
path: root/%25252525252525252525252525253fid%25252525252525252525252525253d2fe9c7efcee38...
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@calcurse.org>2017-09-08 07:44:35 +0200
committerLukas Fleischer <lfleischer@calcurse.org>2017-09-08 21:08:54 +0200
commit57dd3d6b66156936d170893765d45a169e7010af (patch)
tree934958fe226dfb8655884a6d0aca739809c53ba4 /%25252525252525252525252525253fid%25252525252525252525252525253d2fe9c7efcee3812d46f367d3321c924ca4152485&id2%25252525252525252525252525253de943a8a4dbb8b5d6ad280ba2a576cdd9e7e66a63%252525252525252525252525253fid%252525252525252525252525253d2fe9c7efcee3812d46f367d3321c924ca4152485%2525252525252525252525253fid%2525252525252525252525253de943a8a4dbb8b5d6ad280ba2a576cdd9e7e66a63%25252525252525252525253fid%25252525252525252525253de943a8a4dbb8b5d6ad280ba2a576cdd9e7e66a63%252525252525252525253fid%252525252525252525253de943a8a4dbb8b5d6ad280ba2a576cdd9e7e66a63%2525252525252525253fid%2525252525252525253df69698569ff79965580c3a8c23d9e59fc1810fc7%25252525252525253fid%25252525252525253df69698569ff79965580c3a8c23d9e59fc1810fc7%252525252525253fid%252525252525253df69698569ff79965580c3a8c23d9e59fc1810fc7%2525252525253fid%2525252525253df69698569ff79965580c3a8c23d9e59fc1810fc7%25252525253fid%25252525253df69698569ff79965580c3a8c23d9e59fc1810fc7&id2%25252525253d380124c7a21fc216e760e8b925d8738292b725f8%252525253fid%252525253df69698569ff79965580c3a8c23d9e59fc1810fc7&id2%252525253d380124c7a21fc216e760e8b925d8738292b725f8%2525253fid%2525253df69698569ff79965580c3a8c23d9e59fc1810fc7%25253fid%25253d380124c7a21fc216e760e8b925d8738292b725f8%253fid%253d7a0134204ebf3fe03ce670348c326521ae48f2ed%3fid%3d0f3d1988bfacd86075c7306723ea11d63afa766a?id=57dd3d6b66156936d170893765d45a169e7010af
parentba85d9b6f5e9854c7d4ec47e2a91b53e7f454f21 (diff)
Only reload if data files were changed
Instead of blindly reloading data in io_reload_data(), compare the stored hashes of the data files with hashes of the current file contents and only reload if any of the hashes differs. Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to '%25252525252525252525252525253fid%25252525252525252525252525253d2fe9c7efcee3812d46f367d3321c924ca4152485&id2%25252525252525252525252525253de943a8a4dbb8b5d6ad280ba2a576cdd9e7e66a63%252525252525252525252525253fid%252525252525252525252525253d2fe9c7efcee3812d46f367d3321c924ca4152485%2525252525252525252525253fid%2525252525252525252525253de943a8a4dbb8b5d6ad280ba2a576cdd9e7e66a63%25252525252525252525253fid%25252525252525252525253de943a8a4dbb8b5d6ad280ba2a576cdd9e7e66a63%252525252525252525253fid%252525252525252525253de943a8a4dbb8b5d6ad280ba2a576cdd9e7e66a63%2525252525252525253fid%2525252525252525253df69698569ff79965580c3a8c23d9e59fc1810fc7%25252525252525253fid%25252525252525253df69698569ff79965580c3a8c23d9e59fc1810fc7%252525252525253fid%252525252525253df69698569ff79965580c3a8c23d9e59fc1810fc7%2525252525253fid%2525252525253df69698569ff79965580c3a8c23d9e59fc1810fc7%25252525253fid%25252525253df69698569ff79965580c3a8c23d9e59fc1810fc7&id2%25252525253d380124c7a21fc216e760e8b925d8738292b725f8%252525253fid%252525253df69698569ff79965580c3a8c23d9e59fc1810fc7&id2%252525253d380124c7a21fc216e760e8b925d8738292b725f8%2525253fid%2525253df69698569ff79965580c3a8c23d9e59fc1810fc7%25253fid%25253d380124c7a21fc216e760e8b925d8738292b725f8%253fid%253d7a0134204ebf3fe03ce670348c326521ae48f2ed%3fid%3d0f3d1988bfacd86075c7306723ea11d63afa766a?id=57dd3d6b66156936d170893765d45a169e7010af')
0 files changed, 0 insertions, 0 deletions