diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2004-07-30 00:55:09 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2004-07-30 00:55:09 +0000 |
commit | 0d812118fa0757bcffca6e68ade86cc57dd53281 (patch) | |
tree | d13a1593b096d26f760a88e9af42de9906ec5898 | |
parent | 577caa4da26f990464ce3aaea796303b63670a63 (diff) | |
download | coreutils-0d812118fa0757bcffca6e68ade86cc57dd53281.tar.xz |
md5sum, sha1sum integer cleanups.
-rw-r--r-- | ChangeLog | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -1,3 +1,20 @@ +2004-07-29 Paul Eggert <eggert@cs.ucla.edu> + + md5sum, sha1sum integer cleanups. + + * src/checksum.h: Don't include config.h, sys/types.h, stdio.h: + not needed. + (ALG_UNSPECIFIED): Remove. + (ALG_MDT): Don't make it equal to CHAR_MAX + 1; this isn't necessary. + * src/md5.c: Don't include any files other than checksum.h. + * src/sha1sum.c: Likewise. + * src/md5sum.c (OPENOPTS, have_read_stdin, status_only, warn, + bsd_split_3, split_3, hex_digits, digest_file, digest_check, main): + Use bool when appropriate. + (digest_check): Increase limit of number of input lines to + UINTMAX_MAX from INT_MAX. Diagnose any overflows of this counter. + Use ngettext instead of hard-to-i18nize hardcoded stuff for plurals. + 2004-07-28 Paul Eggert <eggert@cs.ucla.edu> * src/cat.c (exit_status): Remove. Now done by passing a boolean |