bug-coreutils
[Top][All Lists]
Advanced

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

Re: [PATCH] support BSD-style checksums in md5sum --check


From: Jim Meyering
Subject: Re: [PATCH] support BSD-style checksums in md5sum --check
Date: Wed, 09 Apr 2003 22:06:50 +0200

Joe Orton <address@hidden> 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  <address@hidden>
>
>       * 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.




reply via email to

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