The Samba-Bugzilla – Attachment 3863 Details for
Bug 6021
smbclient du command does not recuse properly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to client.c against release 3.2.6, use patch -p1 in root samba directory
samba-3.2.7-dufix.patch (text/plain), 949 bytes, created by
Howard Wilkinson
on 2009-01-08 10:00:40 UTC
(
hide
)
Description:
Patch to client.c against release 3.2.6, use patch -p1 in root samba directory
Filename:
MIME Type:
Creator:
Howard Wilkinson
Created:
2009-01-08 10:00:40 UTC
Size:
949 bytes
patch
obsolete
>diff -ruN samba-3.2.7-save/source/client/client.c samba-3.2.7/source/client/client.c >--- samba-3.2.7-save/source/client/client.c 2008-12-19 13:57:33.000000000 +0000 >+++ samba-3.2.7/source/client/client.c 2009-01-08 14:44:35.000000000 +0000 >@@ -719,20 +719,30 @@ > return; > } > >- mask2 = talloc_asprintf(ctx, >- "%s%s", >- mntpoint, >- mask); >+ if (mntpoint) { >+ mask2 = talloc_asprintf(ctx, >+ "%s%s", >+ mntpoint, >+ mask); >+ } else { >+ mask2 = talloc_asprintf(ctx, >+ "%s", >+ mask); >+ } > if (!mask2) { > TALLOC_FREE(dir); > return; > } > p = strrchr_m(mask2,CLI_DIRSEP_CHAR); >- if (!p) { >- TALLOC_FREE(dir); >- return; >+ if (p) { >+ p[1] = 0; >+ } else { >+ if (mntpoint) { >+ TALLOC_FREE(dir); >+ return; >+ } >+ mask2[0] = 0; > } >- p[1] = 0; > mask2 = talloc_asprintf_append(mask2, > "%s%s*", > f->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 6021
:
3863
|
3864