Use converted file name for dst_path.
This commit is contained in:
parent
61351de196
commit
81517d457c
@ -1,6 +1,10 @@
|
|||||||
ChangeLog for davfs2
|
ChangeLog for davfs2
|
||||||
--------------------
|
--------------------
|
||||||
|
|
||||||
|
2009-05-21 Werner Baumann (werner.baumann@onlinehome.de)
|
||||||
|
* cache.ce, move_dirty, move_reg:
|
||||||
|
Use converted file name for dst_path.
|
||||||
|
|
||||||
2009-05-15 Werner Baumann (werner.baumann@onlinehome.de)
|
2009-05-15 Werner Baumann (werner.baumann@onlinehome.de)
|
||||||
* cache.c, dav_close:
|
* cache.c, dav_close:
|
||||||
Always delete directory cache files on close.
|
Always delete directory cache files on close.
|
||||||
|
@ -1840,7 +1840,7 @@ move_dirty(dav_node *src, dav_node *dst, dav_node *dst_parent,
|
|||||||
char *dst_path;
|
char *dst_path;
|
||||||
if (!dst) {
|
if (!dst) {
|
||||||
char *dst_conv = dav_conv_to_server_enc(dst_name);
|
char *dst_conv = dav_conv_to_server_enc(dst_name);
|
||||||
dst_path = ne_concat(dst_parent->path, dst_name, NULL);
|
dst_path = ne_concat(dst_parent->path, dst_conv, NULL);
|
||||||
free(dst_conv);
|
free(dst_conv);
|
||||||
} else {
|
} else {
|
||||||
dst_path = ne_strdup(dst->path);
|
dst_path = ne_strdup(dst->path);
|
||||||
@ -1910,7 +1910,7 @@ move_reg(dav_node *src, dav_node *dst, dav_node *dst_parent,
|
|||||||
char *dst_path;
|
char *dst_path;
|
||||||
if (!dst) {
|
if (!dst) {
|
||||||
char *dst_conv = dav_conv_to_server_enc(dst_name);
|
char *dst_conv = dav_conv_to_server_enc(dst_name);
|
||||||
dst_path = ne_concat(dst_parent->path, dst_name, NULL);
|
dst_path = ne_concat(dst_parent->path, dst_conv, NULL);
|
||||||
free(dst_conv);
|
free(dst_conv);
|
||||||
} else {
|
} else {
|
||||||
dst_path = ne_strdup(dst->path);
|
dst_path = ne_strdup(dst->path);
|
||||||
|
Loading…
Reference in New Issue
Block a user