The Samba-Bugzilla – Attachment 1004 Details for
Bug 2137
SWAT mangles names with containing spaces
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to swat to have it use the correct quote characters.
samba-3.0.12pre1-quoting.patch (text/plain), 853 bytes, created by
Jay Fenlason - please log in and update your mail address here and let us enable Bugmails to you again, Jay
on 2005-03-02 08:35:53 UTC
(
hide
)
Description:
Patch to swat to have it use the correct quote characters.
Filename:
MIME Type:
Creator:
Jay Fenlason - please log in and update your mail address here and let us enable Bugmails to you again, Jay
Created:
2005-03-02 08:35:53 UTC
Size:
853 bytes
patch
obsolete
>--- samba-3.0.12pre1/source/web/swat.c 2005-02-25 12:59:36.000000000 -0500 >+++ samba-3.0.12pre1/source/web/swat.c.quoting 2005-03-01 17:36:37.000000000 -0500 >@@ -219,7 +219,7 @@ > if ( strchr_m(*list, ' ') ) { > push_utf8_allocate(&utf8_s1, *list); > push_utf8_allocate(&utf8_s2, ((*(list+1))?", ":"")); >- printf("\'%s\'%s", utf8_s1, utf8_s2); >+ printf(""%s"%s", utf8_s1, utf8_s2); > } else { > push_utf8_allocate(&utf8_s1, *list); > push_utf8_allocate(&utf8_s2, ((*(list+1))?", ":"")); >@@ -237,7 +237,7 @@ > for (; *list; list++) { > /* enclose in quotes if the string contains a space */ > if ( strchr_m(*list, ' ') ) >- printf("\'%s\'%s", *list, ((*(list+1))?", ":"")); >+ printf(""%s"%s", *list, ((*(list+1))?", ":"")); > else > printf("%s%s", *list, ((*(list+1))?", ":"")); > }
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 2137
: 1004 |
1007