fileutil cat program

DJ Delorie dj@delorie.com
Wed Jun 30 22:10:00 GMT 1999


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



More information about the Cygwin mailing list