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: fileutil cat program



First off, such a patch would be too small to warrant legal papers.
It would probably look like "if (!isatty(0)) setmode(1, O_BINARY);"

Second, is this really what you want?  The DJGPP port of fileutils
uses "-b" to indicate binary mode.  Doing it automatically may create
subtle bugs.

> Could someone whose already signed the Cygnus release forms submit a
> patch for the cat program such that if the output is to a pipe or
> redirection that the input is processed in binary mode?

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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