[prev in list] [next in list] [prev in thread] [next in thread]
List: coreutils-bug
Subject: Re: [PATCH] support BSD-style checksums in md5sum --check
From: Jim Meyering <jim () meyering ! net>
Date: 2003-04-09 20:06:50
Message-ID: 85fzorigf9.fsf () pi ! meyering ! net
[Download RAW message or body]
Joe Orton <jorton@redhat.com> wrote:
> Hi, this patch against 4.5.9 adds support to 'md5sum --check' for
> parsing the checksum files produced by the 'md5' command on BSD systems.
> (not sure where this command came from exactly, I have it on OpenBSD and
> FreeBSD at least)
>
> 2003-03-28 Joe Orton <jorton@redhat.com>
>
> * src/md5sum.c (bsd_split_3): New function.
> (split_3): Detect checksums from BSD 'md5' command and handle them
> using bsd_split_3.
>
> * tests/md5sum/basic-1: New tests for --check exit status, and for
> BSD-style checksum files.
Thank you for that patch, and for the test cases!
Is there also a BSD variant of the sha1sum program?
Your patch makes it so that sha1sum (which uses the same code
as md5sum.c, but adds the definition in sha1sum.c) also accepts
`MD5 (FILE) = checksum'. It shouldn't do that.
Would you please correct that and update doc/coreutils.texi
with a description of the new option?
This change is big enough that the FSF needs some copyright-related
paperwork for it. If you haven't already filed the necessary paperwork,
please let me know and I'll send you what you need.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic