The Samba-Bugzilla – Attachment 535 Details for
Bug 1407
Samba, WinRAR and non-english (russian) filenames
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Samba, WinRAR and non-english (russian) filenames
samba3-rar3.patch (text/plain), 575 bytes, created by
Alexander Strizhevsky
on 2004-06-02 23:13:15 UTC
(
hide
)
Description:
Samba, WinRAR and non-english (russian) filenames
Filename:
MIME Type:
Creator:
Alexander Strizhevsky
Created:
2004-06-02 23:13:15 UTC
Size:
575 bytes
patch
obsolete
>diff -durN samba.old/source/lib/util_str.c samba/source/lib/util_str.c >--- samba.old/source/lib/util_str.c 2004-05-11 08:19:38.000000000 +0400 >+++ samba/source/lib/util_str.c 2004-06-02 16:49:28.000000000 +0400 >@@ -1408,11 +1408,14 @@ > /* I assume that lowercased string takes the same number of bytes > * as source string even in UTF-8 encoding. (VIV) */ > len = strlen(s) + 1; >+ >+ int errnosave = errno; > errno = 0; > unix_strlower(s,len,s,len); > /* Catch mb conversion errors that may not terminate. */ > if (errno) > s[len-1] = '\0'; >+ errno = errnosave; > } > > /**
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 1407
: 535 |
548