From 8c518daa86518f5752b1f571f08bd34b0143d10e Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 8 Jul 2004 12:42:01 +0000 Subject: r1396: Give the build farm a chance to be clean before 3.0.5. We don't accept filenames ending in a dot. Volker (This used to be commit f17cb54a6f97b2ce0084d27ec219b4c3fe05c1fa) --- source3/torture/mangle_test.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source3') diff --git a/source3/torture/mangle_test.c b/source3/torture/mangle_test.c index f31621b23b..174c7128be 100644 --- a/source3/torture/mangle_test.c +++ b/source3/torture/mangle_test.c @@ -150,6 +150,10 @@ static void gen_name(char *name) s[4] = 0; } } + + /* ..... and a 100% proability of a file not ending in "." */ + if (p[strlen(p)-1] == '.') + p[strlen(p)-1] = '\0'; } -- cgit