The Samba-Bugzilla – Attachment 872 Details for
Bug 2196
[patch] System wide recycle bin
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
System wide recycle bin
vfs_recycle.diff (text/plain), 773 bytes, created by
Denis Sbragion
on 2004-12-29 02:27:02 UTC
(
hide
)
Description:
System wide recycle bin
Filename:
MIME Type:
Creator:
Denis Sbragion
Created:
2004-12-29 02:27:02 UTC
Size:
773 bytes
patch
obsolete
>--- vfs_recycle.c 2004-12-27 16:27:49.000000000 +0100 >+++ vfs_recycle.c.org 2004-12-15 15:33:13.000000000 +0100 >@@ -223,8 +223,6 @@ > new_dir = (char *)SMB_MALLOC(len + 1); > ALLOC_CHECK(new_dir, done); > *new_dir = '\0'; >- if (dname[0] == '/') >- safe_strcat(new_dir,"/",len); > > /* Create directory tree if neccessary */ > for(token = strtok(tok_str, "/"); token; token = strtok(NULL, "/")) { >@@ -338,7 +336,7 @@ > repository = alloc_sub_conn(conn, recycle_repository(handle)); > ALLOC_CHECK(repository, done); > /* shouldn't we allow absolute path names here? --metze */ >- trim_char(repository, '\0', '/'); >+ trim_char(repository, '/', '/'); > > if(!repository || *(repository) == '\0') { > DEBUG(3, ("recycle: repository path not set, purging %s...\n", file_name));
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 2196
: 872