r1444: Another attempt to fulfil the 100% promise. There might be two dots at the
authorVolker Lendecke <vlendec@samba.org>
Sun, 11 Jul 2004 11:33:25 +0000 (11:33 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:52:11 +0000 (10:52 -0500)
end...

Volker
(This used to be commit 65518960e54f98e750c7e044004ce72a7503760b)

source3/torture/mangle_test.c

index 174c7128be8147a9b919ab51a637a21d63150911..5acad2d015d9c6ab304c796dff41ac8100f0f3e5 100644 (file)
@@ -153,7 +153,7 @@ static void gen_name(char *name)
 
        /* ..... and a 100% proability of a file not ending in "." */
        if (p[strlen(p)-1] == '.')
-               p[strlen(p)-1] = '\0';
+               p[strlen(p)-1] = '_';
 }