delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/06/17/19:39:48

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Date: Thu, 17 Jun 1999 19:39:05 -0400
Message-Id: <199906172339.TAA19378@envy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: earnie_boyd AT yahoo DOT com
CC: cygwin AT sourceware DOT cygnus DOT com
In-reply-to: <19990617232130.20833.rocketmail@web124.yahoomail.com> (message
from Earnie Boyd on Thu, 17 Jun 1999 16:21:30 -0700 (PDT))
Subject: Re: fileutil cat program
References: <19990617232130 DOT 20833 DOT rocketmail AT web124 DOT yahoomail DOT com>

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 AT sourceware DOT cygnus DOT com

- Raw text -


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