summaryrefslogtreecommitdiff
path: root/src/md5sum.c
AgeCommit message (Collapse)Author
2004-05-06(main): Use xnmalloc, rather than xmalloc.Jim Meyering
2004-04-08Correct spelling: s/shasum/sha1sum.Jim Meyering
2004-01-21(usage): Use EXIT_SUCCESS, not 0, for clarity.Jim Meyering
(usage): Don't bother normalizing exit status since the arg is already the correct exit status now. (main): Use int, not size_t, to store boolean int.
2003-12-02Include sha1.h (reflect renaming: sha.h -> sha1.h.Jim Meyering
2003-10-18Most .c files (AUTHORS): Revert the WRITTEN_BY/AUTHORS changeJim Meyering
of 2003-09-19. Now, AUTHORS is a comma-separated list of strings. Update the call to parse_long_options so that `AUTHORS, NULL' are the last parameters. * src/true.c (main): Append NULL to version_etc argument list. * src/sys2.h (case_GETOPT_VERSION_CHAR): Likewise.
2003-09-18(WRITTEN_BY): Rename from AUTHORS.Jim Meyering
Begin each WRITTEN_BY string with `Written by ' and end it with `.'. Mark each WRITTEN_BY string as translatable.
2003-09-18revert previous changeJim Meyering
2003-09-18Update AUTHORS definition to be a comma-separated list of strings and/or updateJim Meyering
the call to parse_long_options so that `AUTHORS, NULL' are the last parameters.
2003-08-31(split_3): Accept the BSD format for genericJim Meyering
message digest modes. Currently works with BSD's MD5 and SHA1 formats since these are the two algorithms presently used in coreutils. Updated comments to reflect this change. (bsd_split_3): Updated comments.
2003-07-23Don't include headers already included by system.h:Jim Meyering
Don't include closeout.h.
2003-06-17(main): Call initialize_main.Jim Meyering
2003-05-24(split_3): Accept the BSD format only when in MD5 mode.Jim Meyering
2003-05-24(bsd_split_3): New function.Jim Meyering
(split_3): Detect checksums from BSD 'md5' command and handle them using bsd_split_3.
2003-04-11Remove anachronistic casts of xmalloc,Jim Meyering
xrealloc, and xcalloc return values and of xrealloc's first argument.
2002-09-14Change type of global, digest_hex_bytes, to size_tJim Meyering
to avoid warnings about `comparison between signed and unsigned'. (split_3): Change parameter names to be readable and add comment. Clean up the test for whether a line may be ignored.
2002-07-02(usage): Use the PACKAGE_BUGREPORT e-mail address, rather than hard-coding it.Jim Meyering
2002-01-26split a long lineJim Meyering
2001-12-03(usage): Merge lone "\n" into adjacent string.Jim Meyering
2001-12-01Reflect renaming to, and new usage of these macros:Jim Meyering
HELP_OPTION_DESCRIPTION and VERSION_OPTION_DESCRIPTION.
2001-12-01(usage): Use new macros, EMIT_HELP_DESCRIPTION and EMIT_VERSION_DESCRIPTIONJim Meyering
instead of hard-coding --help and --version descriptions.
2001-11-23Factor out some common strings to make translation easier.Jim Meyering
Split usage strings so that --help and --version descriptions are alone in their own string. Likewise for the one that says: Mandatory arguments to long options are mandatory for short options too.
2001-11-11(usage): Split --help output into smaller pieces.Jim Meyering
2001-09-16(digest_check): On systems for which setmode actuallyJim Meyering
does something, arrange to read the file containing checksum strings in text mode. Based on a patch from Chris Faylor.
2001-08-13(AUTHORS): Mark string for translation, since it contains the English word ↵Jim Meyering
`and'.
2000-10-22Factor out the differences between MD5 and SHA1,Jim Meyering
and parameterize so this code may be used by both md5sum and the new program, shasum. Loosely based on a patch from Scott Miller.
2000-08-23Include <config.h> unconditionally, to be consistentJim Meyering
with all the other programs in this directory.
2000-05-20Arrange to call close_stdout upon exit. Don't close stdout explicitly.Jim Meyering
1999-08-22(md5_check): Remove trailing `\n' in error format.Jim Meyering
1999-05-03(TOLOWER): Remove definition.Jim Meyering
1999-04-04Standardize --help and --version processing.Jim Meyering
1999-04-03Use AUTHORS in place of string in parse_long_options call.Jim Meyering
1999-04-03Insert AUTHORS definition.Jim Meyering
1999-04-03Use PROGRAM_NAME in place of string in parse_long_options call.Jim Meyering
1999-04-03define PROGRAM_NAMEJim Meyering
1999-03-04(main): Include author name argument.Jim Meyering
1999-02-16update copyright datesJim Meyering
1999-01-14Don't prototype usage as static.Jim Meyering
1999-01-03(usage): Remove third program_name argument -- thereJim Meyering
were only two `%s' in the format string.
1999-01-01(OPENOPTS) [O_BINARY]: Use binary I/O when non-zero argument.Jim Meyering
(md5_file) [O_BINARY]: Switch redirected stdin to binary mode. (main) [O_BINARY]: Use binary reads by default on those systems which care about the difference.
1998-10-04(split_3): Rename local variable, to `escaped_filename'.Jim Meyering
(main): Output the leading backslash not just when there's a newline in the file name, but also when there's a backslash.
1998-09-19update bug-reporting addressJim Meyering
1998-07-26(split_3): Add cast to placate irix4's cc. From Kaveh Ghazi.Jim Meyering
1998-06-29revert back to using lower case _unlocked wrapper namesJim Meyering
1998-06-29Change all uses of unlocked-wrapped functions to their upper case wrapper names.Jim Meyering
1998-04-26(md5_check): Declare local, `md5num' as _unsigned_ char*.Jim Meyering
(hex_digits): Declare parameter `s' as _unsigned_ char*. (split_3): Declare parameter `u' as _unsigned_ char**.
1998-04-12Use STREQ rather than strcmpJim Meyering
1997-10-25Remove old-style xmalloc and xrealloc decls.Jim Meyering
1997-10-07update bug-reporting addressJim Meyering
1997-06-29Move the OPENOPTS def from end to beginning of else clause so it's closerJim Meyering
to the one in the then clause.
1997-02-09update copyrights for 1997Jim Meyering