bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: md5sum


From: Dmitry V. Levin
Subject: Re: md5sum
Date: Thu, 27 Oct 2005 17:44:53 +0400

On Wed, Oct 26, 2005 at 04:27:44PM +0400, Dmitry V. Levin wrote:
> On Sun, Oct 23, 2005 at 11:07:59AM +0200, Jim Meyering wrote:
> > ** Binary input and output are now implemented more consistently.
> >   These changes affect only platforms like MS-DOS that distinguish
> >   between binary and text files.
> 
> Unfortunately, these changes affect GNU/Linux, too.
> 
> [...]
> >   md5sum and sha1sum now obey the -b or --binary option, even if
> >   standard input is a terminal, and they no longer report files to be
> >   binary if they actually read them in text mode.
> 
> On GNU/Linux, O_BINARY is 0 and default mode is binary.
> As result, by default a character indicating type is now "*" instead of
> previous " ", and this change breaks third party scripts which relay on
> old md5sum/sha1sum output format.

I'm going to apply attached patch for coreutils packages I maintain.


-- 
ldv

Attachment: coreutils-5.92-alt-md5sum-binary.patch
Description: Text document

Attachment: pgpNRdfM8Vm2g.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]