bug-tar
[Top][All Lists]
Advanced

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

Re: [Bug-tar] Small bug in tar-1.29


From: Ralph Corderoy
Subject: Re: [Bug-tar] Small bug in tar-1.29
Date: Wed, 31 Aug 2016 11:12:46 +0100

Hi Rob,

> This report is for tar-1.29, compiled and installed on Mac El Capitan.
> When the environment variable "LANG" is not set, tar cannot handle a
> compressed archive--the error is "broken pipe".  For example:
>
>     m3rgma0371carn - T tar tvzf archive.tgz
>     gnutar: Child died with signal 11
>     gnutar: Error is not recoverable: exiting now
>     m3rgma0371carn - T $ export LANG=" "
>     m3rgma0371carn - T $ tar tvzf archive.tgz
>     drwxr-xr-x gross/staff       0 2016-08-29 12:10 hsperfdata_gross/
>     drwx------ gross/staff       0 2016-08-13 14:41 
> com.apple.AddressBook.ContactsAccountsService/
>     [...]
>
> There is no problem if I gunzip the archive first, and then run tar.

Setting LANG to a space doesn't tell us what it and other locale
environment variables were set to, if they were set, before then.  Can
we have the output of these commands when tar fails.

    locale
    env | egrep '^(LANG|LC_)' | cat -et

BTW, I assume setting LANG to space isn't particularly valid.  If you
want to reset your locale to the old simple one, do `export LC_ALL=C'.

-- 
Cheers, Ralph.
https://plus.google.com/+RalphCorderoy



reply via email to

[Prev in Thread] Current Thread [Next in Thread]