Displaying 3 results from an estimated 3 matches for "str_upper".
2001 Oct 23
1
PATCH to Samba >= 2.2.1, accents and special chars
...listr.c Tue Oct 23 12:16:04 2001
***************
*** 69,76 ****
/* the server likes unicode. give it the works */
if (flags & STR_CONVERT) {
! dos_PutUniCode(dest, src, dest_len, flags & STR_TERMINATE);
} else {
ascii_to_unistr(dest, src, dest_len);
}
if (flags & STR_UPPER) {
--- 69,79 ----
/* the server likes unicode. give it the works */
if (flags & STR_CONVERT) {
! /* bonnetain@acm.org, 23-oct-2001 : added call to
! unix_to_dos */
! dos_PutUniCode(dest, unix_to_dos(src,False), dest_len, flags & STR_TERMINATE);
} else {
+ /* bonnetain...
2000 Jun 28
1
[Patch] Shorter patch for smbfs 2.2.16
...isp)
+ * - fixed FINDFIRST flags for OS/2 Server
+ * - added lastname/mask stuff back (OS/2 needs it)
*/
#include <linux/types.h>
@@ -62,6 +62,28 @@
static int
smb_proc_do_getattr(struct dentry *dir, struct smb_fattr *fattr,struct
smb_sb_info *server);
+static void
+str_upper(char *name, int len)
+{
+ while (len--)
+ {
+ if (*name >= 'a' && *name <= 'z')
+ *name -= ('a' - 'A');
+ name++;
+ }
+}
+
+static void
+str_lower(char *name, int len)
+{
+ while...
2002 Jun 10
1
smbmount filename case forcing
Hello
I have a problem mounting a win2k share onto linux
I want to mount the share so that all filenames are in lowercase (or
uppercase) only
This is so that I can use apache with a DirectoryIndex of default.htm
instead of all the possible cases. And various other places I plan to
use filenames
Is playing with codepages / iocharsets the way to go ?
TIA
Neil Prockter