Age | Commit message (Collapse) | Author | |
---|---|---|---|
2001-04-22 | Fix bugs when computing length of large files. | Jim Meyering | |
Add overflow and write error checks. Use uint_fast32_t, not unsigned long, to do checksum calculation, as C99 says uint_fast32_t should be no slower and might be faster. Include <stdio.h> and "system.h" even if CRCTAB is defined, so that the code will compile if CRCTAB is defined. Include "human.h" if CRCTAB is not defined. (uint_fast32_t): Define if it appears that stdint.h didn't. (BIT, remainder, main, crctab): Use uint_fast32_t, not unsigned long, for checksums. (fill_r, remainder, main): Use ANSI prototypes. (fill_r, remainder, main): Omit duplicate code. (main): Use uintmax_t, not unsigned long, for file lengths. Use size_t, not long, for result of fread. Check for overflow when computing file lengths. Check for write error immediately after printing a line, so that we don't write to stdout indefinitely after an error. | |||
2001-01-17 | (main): Use PACKAGE, not GNU_PACKAGE. | Jim Meyering | |
2000-05-20 | Arrange to call close_stdout upon exit. Don't close stdout explicitly. | Jim Meyering | |
2000-03-12 | (usage): Correct --help output. | Jim Meyering | |
1999-08-22 | (cksum): Constify a char*. | Jim Meyering | |
1999-04-03 | Use AUTHORS in place of string in parse_long_options call. | Jim Meyering | |
1999-04-03 | Insert AUTHORS definition. | Jim Meyering | |
1999-04-03 | Use PROGRAM_NAME in place of string in parse_long_options call. | Jim Meyering | |
1999-04-03 | define PROGRAM_NAME | Jim Meyering | |
1999-03-04 | Include long-options.h | Jim Meyering | |
[long_options]: Remove the "help" and "version" entries. Remove declarations of show_help and show_version. (main): Use parse_long_options, including author name(s). Remove the show_version and show_help blocks. | |||
1999-02-16 | update copyright dates | Jim Meyering | |
1999-01-14 | Don't prototype usage as static. | Jim Meyering | |
1999-01-01 | (cksum) [O_BINARY]: Read redirected stdin in binary mode. | Jim Meyering | |
1998-09-19 | update bug-reporting address | Jim Meyering | |
1998-06-29 | revert back to using lower case _unlocked wrapper names | Jim Meyering | |
1998-06-29 | Change all uses of unlocked-wrapped functions to their upper case wrapper names. | Jim Meyering | |
1998-04-12 | Use STREQ rather than strcmp | Jim Meyering | |
1997-10-07 | indent cpp directives to reflect nesting | Jim Meyering | |
1997-10-07 | update bug-reporting address | Jim Meyering | |
1997-02-09 | update copyrights for 1997 | Jim Meyering | |
1997-02-01 | bracket bug address with <> and append a period | Jim Meyering | |
1997-02-01 | Compare getopt_long return value against -1, not EOF. Use NULL, not '(int ↵ | Jim Meyering | |
*) 0' as last parameter in getopt_long call. | |||
1996-11-03 | change bug-reporting address | Jim Meyering | |
1996-11-02 | change bug-reporting address | Jim Meyering | |
1996-10-04 | (main): update --version output again | Jim Meyering | |
1996-10-04 | (main): update --version output to conform to coding standard | Jim Meyering | |
1996-09-02 | (usage): Tell where to report bugs. | Jim Meyering | |
1996-04-24 | update Copyright years for 1996 | Jim Meyering | |
1996-03-28 | (cksum): Use format "%lu %ld" (instead of "%10lu %8ld") | Jim Meyering | |
to be POSIX compliant. From Stephen Gildea <gildea@x.org>. | |||
1996-03-24 | Call error with EXIT_FAILURE (rather than `1') as first actual parameter. | Jim Meyering | |
1996-03-24 | Exit with status EXIT_SUCCESS or EXIT_FAILURE, rather than 0 or 1. | Jim Meyering | |
This doesn't change `error (1' calls. | |||
1996-03-21 | (main): Declare to be of type int, not void. | Jim Meyering | |
1996-03-16 | Don't include version.h. | Jim Meyering | |
(main): Use PACKAGE_VERSION instead of version_string. | |||
1996-03-09 | (main): Initialize for internationalized message support: call setlocale, | Jim Meyering | |
bindtextdomain, and textdomain. | |||
1995-11-27 | s/non-zero/nonzero/g | Jim Meyering | |
1995-09-24 | Protoize. | Jim Meyering | |
1995-08-07 | Annotate localizable strings with _(...). From Franc,ois. | Jim Meyering | |
1995-06-18 | merge with 1.12 | Jim Meyering | |
1995-05-13 | (usage): Include one- or two-line synopsis in --help output. | Jim Meyering | |
From Karl Berry. | |||
1995-03-09 | add 1995 to Copyright dates | Jim Meyering | |
1994-12-16 | Include "error.h" instead of simply declaring `void error ();'. | Jim Meyering | |
1994-10-19 | merge with 1.9.1h | Jim Meyering | |
1994-04-13 | . | Jim Meyering | |
1993-10-23 | merge with 1.8d+ | Jim Meyering | |
1993-10-21 | merge with 1.8d | Jim Meyering | |
1993-10-05 | merge with 1.8a | Jim Meyering | |
1993-05-22 | merge with 1.5.2 | Jim Meyering | |
1993-04-29 | add --version and --help | Jim Meyering | |
1992-11-08 | Declared lots of external functions and variables static. | Jim Meyering | |
Made several statically-initialized arrays `const' | |||
1992-11-08 | Initial revision | Jim Meyering | |