From: noer@cygnus.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@NTMAIL>
Content-Type: text
To: Ian@kiwiplan.co.nz (Ian Collins)
Cc: gnu-win32@cygnus.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@cygnus.com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
