The Samba-Bugzilla – Attachment 6121 Details for
Bug 4239
Tar option strips leading period from file name
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
proposal
0001-Fix-bso-4239-don-t-remove-leading-period-from-file-n.patch (text/plain), 1.04 KB, created by
Holger Hetterich
on 2010-12-07 07:18:10 UTC
(
hide
)
Description:
proposal
Filename:
MIME Type:
Creator:
Holger Hetterich
Created:
2010-12-07 07:18:10 UTC
Size:
1.04 KB
patch
obsolete
>From 2af3023e0989cec31c191279db89baa220470551 Mon Sep 17 00:00:00 2001 >From: Holger Hetterich <hhetter@novell.com> >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 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
hhetter
:
review?
(
jra
)
Actions:
View
Attachments on
bug 4239
: 6121