delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/11/12/22:55:32

From: wfarlow AT mxcom DOT com (W. Farlow)
Subject: Re: Bad bug in md5sum and cmp
12 Nov 1998 22:55:32 -0800 :
Message-ID: <19981112145639.4794.qmail.cygnus.gnu-win32@findmail.com>
References: <36497DDD DOT C916A61A AT vt DOT siemens DOT de>
To: gnu-win32 AT cygnus DOT com

Have you tried these programs on a binary mounted filesystem?  Or with CYGWIN='  binmode'?

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!
> 
> Ruediger Helsch <Ruediger DOT Helsch AT vt DOT siemens DOT de>
> -
> For help on using this list (especially unsubscribing), send a message to
> "gnu-win32-request AT cygnus DOT com" with one line of text: "help".
> 
> 



-----
See the original message at http://www.egroups.com/list/gnu-win32/?start=9153
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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