Re: [patch] TODO for 4.6.1: ./file in tar archive
- From: "Andrew V. Samoilov" <andrew email zp ua>
- To: Roland Illig <roland illig gmx de>
- Cc: MC Devel <mc-devel gnome org>
- Subject: Re: [patch] TODO for 4.6.1: ./file in tar archive
- Date: Fri, 22 Oct 2004 20:45:14 +0300 (EEST)
Hello, Leonard and Roland,
> We actually have (and it is important that it is) a pointer to the pathname.
>
> >>> q = "" <<<
> q will be assigned an empty string.
>
> Personally, I prefer the second one, as we don't care to which empty
> string q points.
But this way const char * "" is passed as char *.
> The function canonicalize_pathname is not suited to the problem. We
This function handles ".///a" like names, and without this one tarfs says
"Inconsistent tar archive" for such tar archives.
> As UNC pathnames have nothing to do with Unix I wonder how the function
> has found its way into util*unix*.c.
This was implemented for cygwin on Pavel Tsekov request.
P.S. Pavel, apply this patch, please.
--
Regards,
Andrew V. Samoilov.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]