This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Bad bug in md5sum and cmp
- To: Ruediger Helsch <Ruediger dot Helsch at vt dot siemens dot de>
- Subject: Re: Bad bug in md5sum and cmp
- From: Geoffrey Noer <noer at cygnus dot com>
- Date: Fri, 13 Nov 1998 00:30:16 -0800
- Cc: gnu-win32 at cygnus dot com
- References: <36497DDD.C916A61A@vt.siemens.de>
On Wed, Nov 11, 1998 at 01:06:53PM +0100, Ruediger Helsch wrote:
>
> Md5sum and cmp are badly broken. They stop reading the file at the
> first Ctrl-Z. This makes them useless on binary files.
> Cmp reports two files as equal if they differ behind the first Ctrl-Z.
> Md5sum (even when used with the -b flag) stops after the first Ctrl-Z,
> and when checking, reports the file as OK if changes occur only behind
> the first Ctrl-Z.
> These problems exist in B19 and B20.
> Funny: cksum was also broken in B19 but works as expected in B20!
The cmp code hasn't had the right binary mode switches added yet.
We did this for md5sum before the b20 release which is why it works
as expected in b20...
--
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".