delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/04/14/21:34:23

From: noer AT cygnus DOT com (Geoffrey Noer)
Subject: Re: cpio problem
14 Apr 1998 21:34:23 -0700 :
Message-ID: <199804142026.NAA10198.cygnus.gnu-win32@skaro.cygnus.com>
References: <C1A9DAABC292D111A4D90000F879A2BA0EF7 AT NTMAIL>
To: Ian AT kiwiplan DOT co DOT nz (Ian Collins)
Cc: gnu-win32 AT cygnus DOT com

Ian Collins wrote:
> 
> I have just compiled and made cpio on gnu win32 b19.
> I tested it with a 400Mb binary cpio file.
> If I use,
> 
> cpio -icv < file.cpio
> 
> then it gets a premature end of file error.
> 
> However, if I use,
> 
> cpio -icv -I file.cpio
> 
> then it works OK.
> 
> What is stdin doing?

Almost certainly, the redirect is happening in text mode while the
-I inputs the file in binary mode.

-- 
Geoffrey Noer
noer AT cygnus DOT com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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