delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/02/16/14:20:35

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <38AAFA18.3DF063A0@wxs.nl>
Date: Wed, 16 Feb 2000 20:27:20 +0100
From: paul van der Meij <phjvdmeij AT wxs DOT nl>
X-Mailer: Mozilla 4.7 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin <cygwin AT sourceware DOT cygnus DOT com>
Subject: tar problem
Note-from-DJ: This may be spam

I reported tar not working after applying snapshot 20000131 (stack dump
on 'tar -xf <file>, of a previous correct archive)
which I think is related to the cygwin1.dll.
I tried regenerating tar from 'gnu tar-1.13' which did not work.
After checking the source distribution of B20, I realized that this was
because B20 uses a modified 'tar-1.12' version.
This raises the question will in the future the standard 'GNU' products
support the 'cygwin' environment under NT 4.0 (and Win2000) ??
After regenerating 'tar' from the B20 source it worked fine again.

However there is a problem with 'cat' and 'binary' versus 'text' mode.

tar -cf - xxx | cat | tar -tf

will result in "tar: Skipping to next file header" error, because the
'cat' replaces LF with CR/LF.
I think 'cat' should not interfere 'binary' versus text.
How do you change stdin and stdout to process in O_BINARY mode, ioctl
.... ???

Paul




--
name: Paul van der Meij
email:  phjvdmeij AT wxs DOT nl



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019