[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Review of file exclusion branch requested



On Sun, Jan 20, 2008 at 11:54:00PM +0100, Tollef Fog Heen wrote:
> * Frank Lichtenheld 
> index 9ab3158..48f1c6d 100644
> --- a/src/archives.c
> +++ b/src/archives.c
> @@ -248,7 +248,9 @@ void tarfile_skip_one_forward(struct TarInfo *ti,
>     */
>    if ((ti->Type == NormalFile0) || (ti->Type == NormalFile1)) {
>      char fnamebuf[256];
> -    fd_null_copy(tc->backendpipe, ti->Size, _("gobble replaced file `%.255s'"),quote_filename(fnamebuf,256,ti->Name));
> +    fd_null_copy(tc->backendpipe, ti->Size,
> +                "skipped unpacking file `%.255s' (replaced or excluded?)",
> +                quote_filename(fnamebuf,256,ti->Name));
>      r= ti->Size % TARBLKSZ;
>      if (r > 0) r= safe_read(tc->backendpipe,databuf,TARBLKSZ - r);
>    }
> 
> Looks better?

Yeah, that's much better IMHO.

Gruesse,
-- 
Frank Lichtenheld <djpig@debian.org>
www: http://www.djpig.de/


Reply to: