This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: cpio problem


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".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]