This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Bad bug in md5sum and cmp


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]