From: joe@jump.com (Joe Peterson)
Subject: Bug in od, cat, etc reading binary files
8 Sep 1997 19:59:13 -0700
Approved: cygnus.gnu-win32@cygnus.com
Distribution: cygnus
Message-ID: <34146C3B.683BC2FC.cygnus.gnu-win32@jump.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 4.02 [en] (WinNT; I)
Original-To: gnu-win32@cygnus.com
Original-Sender: owner-gnu-win32@cygnus.com

Sorry if this is documented somewhere, but I could not find mention of
it.  I find that when, for example, using "od" to look at a binary file,
if a ctrl-Z is encountered, the reading stops.  This is because the
fopen presumably does a "r" rather than a "rb" (a pc-ism).

Other programs like "cat" and possibly others have this problem as
well...

				Joe
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
