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)