From 2af3023e0989cec31c191279db89baa220470551 Mon Sep 17 00:00:00 2001 From: Holger Hetterich Date: Tue, 7 Dec 2010 14:08:13 +0100 Subject: [PATCH] Fix bso#4239, don't remove leading period from file names. --- source3/client/clitar.c | 9 ++------- 1 files changed, 2 insertions(+), 7 deletions(-) diff --git a/source3/client/clitar.c b/source3/client/clitar.c index bef53dc..0c74502 100644 --- a/source3/client/clitar.c +++ b/source3/client/clitar.c @@ -918,17 +918,12 @@ Convert from UNIX to DOS file names static void unfixtarname(char *tptr, char *fp, int l, bool first) { - /* remove '.' from start of file name, convert from unix /'s to - * dos \'s in path. Kill any absolute path names. But only if first! - */ + /* convert from unix /'s to dos \'s in path. Kill any absolute + path names. But only if first! */ DEBUG(5, ("firstb=%lX, secondb=%lX, len=%i\n", (long)tptr, (long)fp, l)); if (first) { - if (*fp == '.') { - fp++; - l--; - } if (*fp == '\\' || *fp == '/') { fp++; l--; -- 1.7.1