This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: upload: diffstat-1.40-1, tar-1.15.1-1
On Aug 17 11:37, Christopher Faylor wrote:
> On Wed, Aug 17, 2005 at 05:04:32PM +0200, Corinna Vinschen wrote:
> >Am I missing something or shouldn't tar be one of those applications
> >which should recreate *exactly* what they got? In other words, shouldn't
> >using binmode under all circumstances, regardless of mount mode, file
> >type, or moon phase, be the way to go for tar?
>
> When tar is extracting or storing files it should always create exactly
> what it got, yes.
>
> tar creates at least one file which is a "text" file when it is doing
> incremental backups. I'm saying that this file should always have
> LF line endings. Also, when reading a list of files via -T, it should
> always read in text mode.
>
> So, to summarize, there are several places within tar which operate on
> "text" files. I'm saying that they should ALWAYS be opened for read in
> text mode and for write in binmode. When performing a normal creation
> or extraction, the file should always be opened in binmode.
Yes, that's true. Sorry, I missed entirely the fact that file lists and
exclude patterns can be read from text files.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader mailto:cygwin@cygwin.com
Red Hat, Inc.