[Samba] Samba 3.0rc3 - German Umlauts

Jeremy Allison jra at samba.org
Wed Sep 10 18:03:26 GMT 2003


On Wed, Sep 10, 2003 at 04:05:36PM +0200, Markus Ungermann wrote:
> Hi,
> 
> i have still the same problem.
> I use 3.0RC3 with lib/charcnv.c of the actual CVS (Sep 10 15:19).
> 
> I works not realy:
> I can create (Windows XP + Explorer) the filename "Lösung.txt" but not "ösung.txt".

Here's the fix (also checked into CVS). My stupid, stupid bug, sorry :-(.

Jeremy.


Index: lib/util_str.c
===================================================================
RCS file: /data/cvs/samba/source/lib/util_str.c,v
retrieving revision 1.47.2.41
diff -u -r1.47.2.41 util_str.c
--- lib/util_str.c      5 Sep 2003 19:59:53 -0000       1.47.2.41
+++ lib/util_str.c      10 Sep 2003 17:56:27 -0000
@@ -1189,6 +1189,7 @@
        while (*s && (((unsigned char)s[0]) & 0x80)) {
                if (*s == c)
                        return s;
+               s++;
        }

        if (!*s)




More information about the samba mailing list