git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7df061
)
s3:vfs/shadow_copy2 make descending sort order the default
author
Christian Ambach
<ambi@samba.org>
Tue, 8 May 2012 07:11:36 +0000
(09:11 +0200)
committer
Christian Ambach
<ambi@samba.org>
Tue, 8 May 2012 07:26:07 +0000
(09:26 +0200)
otherwise Explorer won't work correctly when trying to restore a folder
source3/modules/vfs_shadow_copy2.c
patch
|
blob
|
history
diff --git
a/source3/modules/vfs_shadow_copy2.c
b/source3/modules/vfs_shadow_copy2.c
index 24356ece1f976f2eb4702500a7e487814a6282c5..4efc0cad5722f31c3e37bba95e9bf3ce3e41e125 100644
(file)
--- a/
source3/modules/vfs_shadow_copy2.c
+++ b/
source3/modules/vfs_shadow_copy2.c
@@
-1047,7
+1047,7
@@
static void shadow_copy2_sort_data(vfs_handle_struct *handle,
const char *sort;
sort = lp_parm_const_string(SNUM(handle->conn), "shadow",
- "sort",
NULL
);
+ "sort",
"desc"
);
if (sort == NULL) {
return;
}