Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-08-16 | Fix bugs when printing plurals of numbers that are not | Paul Eggert | |
unsigned long int values. * src/system.h (select_plural): New function. * src/md5sum.c (digest_check): Use select_plural to avoid bug. * src/uptime.c (print_uptime): Likewise. * src/dd.c (print_stats): Likewise. Also, don't use ngettext to print a floating point number, as reducing to 0 or 1 doesn't work for some languages. Instead, just use "s" for seconds since it doesn't need a plural form. | |||
2006-07-09 | Adjust to today's renaming changes in system.h. | Paul Eggert | |
2006-06-24 | * src/md5sum.c (DIGEST_BUFFER): Remove now-unused definitions. | Jim Meyering | |
2005-10-27 | (main) [!O_BINARY]: Changed default read mode | Jim Meyering | |
back to text, to sync with documentation and for backwards compatibility. | |||
2005-10-23 | (digest_check, main): Use ptr_align rather than | Jim Meyering | |
a dangerous pointer-value-to-`unsigned' cast. | |||
2005-10-23 | Provide framework for computing sha-2 hashes. | Jim Meyering | |
2005-08-14 | (usage): Fix typo s/formated/formatted/ reported by Norbert Kiesel | Jim Meyering | |
2005-07-19 | (usage): Adjust printf argument list to match new format string. | Jim Meyering | |
2005-07-19 | (usage, main): --check now accepts multiple input files. | Paul Eggert | |
2005-07-11 | (usage): Clarify whether text or binary is the default. | Paul Eggert | |
(split_3, main): BINARY is now a 3-way value. All uses changed. (digest_file): Likewise. Clear *BINARY if we determine the file to be text. All uses changed. (main): Don't report a file to be binary if we actually read it as text in MS-DOS, because it was a terminal. | |||
2005-07-09 | Don't include stdio.h; no longer needed. | Paul Eggert | |
2005-07-03 | Include stdio--.h. | Paul Eggert | |
(digest_check): Don't try to read both checksums and data from stdin. | |||
2005-05-30 | (OPENOPTS, TEXT1T01, TEXTCNVT): Remove. | Paul Eggert | |
(digest_file): Use O_BINARY-using expr instead of OPENOPTS. | |||
2005-05-14 | Update FSF postal mail address. | Jim Meyering | |
2005-05-14 | Update FSF postal mail address. | Jim Meyering | |
2005-05-12 | Assume `free (NULL)' works. | Jim Meyering | |
2005-04-11 | (digest_file, digest_check): | Paul Eggert | |
Don't assume that fopen does not return stdin. | |||
2005-04-07 | (digest_check) [LINT]: Initialize hex_digest to NULL. | Jim Meyering | |
2005-03-28 | (long_options): Use NULL, not `0'. | Jim Meyering | |
2004-09-19 | (STRING_OPTION): Remove. | Paul Eggert | |
(long_options, main): Remove support for undocumented and obsolete --string option, as suggested in the 1996-09-26 patch. | |||
2004-09-19 | (STATUS_OPTION, STRING_OPTION): New enums. | Paul Eggert | |
(long_options, main): Use them instead of magic numbers 2 and 1. For --string, optarg can't possibly be NULL. | |||
2004-08-09 | Finish renaming sha -> sha1. | Paul Eggert | |
2004-07-30 | (OPENOPTS, have_read_stdin, status_only, warn, | Paul Eggert | |
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-06-21 | (main): Standardize on the diagnostics given when someone gives | Jim Meyering | |
too few operands ("missing operand after `xxx'") or too many operands ("extra operand `xxx'"). Include "quote.h" and/or "error.h" if it wasn't already being included. | |||
2004-05-06 | (main): Use xnmalloc, rather than xmalloc. | Jim Meyering | |
2004-04-08 | Correct 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-02 | Include sha1.h (reflect renaming: sha.h -> sha1.h. | Jim Meyering | |
2003-10-18 | Most .c files (AUTHORS): Revert the WRITTEN_BY/AUTHORS change | Jim 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-18 | revert previous change | Jim Meyering | |
2003-09-18 | Update AUTHORS definition to be a comma-separated list of strings and/or update | Jim 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 generic | Jim 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-23 | Don'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-11 | Remove anachronistic casts of xmalloc, | Jim Meyering | |
xrealloc, and xcalloc return values and of xrealloc's first argument. | |||
2002-09-14 | Change type of global, digest_hex_bytes, to size_t | Jim 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-26 | split a long line | Jim Meyering | |
2001-12-03 | (usage): Merge lone "\n" into adjacent string. | Jim Meyering | |
2001-12-01 | Reflect 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_DESCRIPTION | Jim Meyering | |
instead of hard-coding --help and --version descriptions. | |||
2001-11-23 | Factor 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 actually | Jim 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-22 | Factor 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-23 | Include <config.h> unconditionally, to be consistent | Jim Meyering | |
with all the other programs in this directory. |