Don't remove cache-files because of inconsistent metadata (sr #109587)
This commit is contained in:
parent
7e8f220d05
commit
ae38c9eca6
@ -1,6 +1,11 @@
|
||||
ChangeLog for davfs2
|
||||
--------------------
|
||||
|
||||
2019-01-17 Werner Baumann (werner.baumann@onlinehome.de)
|
||||
* cache.c, xml_end_reg:
|
||||
Don't remove cache-files because of inconsistent
|
||||
metadata (sr #109587).
|
||||
|
||||
2019-01-12 Werner Baumann (werner.baumann@onlinehome.de)
|
||||
* Fixed typo (sr #109588).
|
||||
|
||||
|
@ -3219,7 +3219,6 @@ xml_end_reg(void *userdata, int state, const char *nspace, const char *name)
|
||||
if (!reg->name || !reg->cache_path || stat(reg->cache_path, &st) != 0
|
||||
|| reg->size != st.st_size || (!reg->path && !is_backup(reg))) {
|
||||
if (reg->cache_path) {
|
||||
remove(reg->cache_path);
|
||||
free(reg->cache_path);
|
||||
reg->cache_path = NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user