Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-07-11 | (cksum): Avoid setmode; use POSIX-specified routines instead. | Paul Eggert | |
2005-05-14 | Update FSF postal mail address. | Jim Meyering | |
2005-05-14 | Update FSF postal mail address. | Jim Meyering | |
2005-03-06 | Remove `register' keyword. | Jim Meyering | |
2004-11-17 | (main): Use getopt_long rather than getopt. | Paul Eggert | |
2004-09-21 | (main): Use getopt where it suffices, not getopt_long. | Paul Eggert | |
2004-09-19 | Remove obsolete comment about POSIX 1003.2/D11.2. | Paul Eggert | |
The current standard (POSIX 1003.1-2004) is correct. (crc_remainder) [defined CRCTAB]: Renamed from "remainder" to avoid collision with builtin function. (main) [defined CRCTAB]: Output in lowercase hexadecimal, and output the first 0 as 8 digits, to make it easier to compare to the text of the standard. Output crctab to be a const array. (crctab): Use result of above changes. (long_options): Remove; not needed if empty. (main): getopt_long can't return 0 here, so simplify the code. | |||
2004-07-30 | (cksum, main): Use bool when appropriate. | Paul Eggert | |
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. | |||
2003-11-05 | Cast NULL to `(char *)' in call to variadic function, | Jim Meyering | |
parse_long_options, so that it works even on systems for which sizeof char* != sizeof int. | |||
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-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-02-18 | cksum would perform an extra read after encountering EOF | Jim Meyering | |
(cksum): Exit the loop upon EOF, too. Patch by Michael Bacarella. | |||
2002-11-05 | (cksum): Use primitives from inttostr.h, not | Jim Meyering | |
human.h, to print large numbers simply. | |||
2002-08-31 | Change `exit (0)' to `exit (EXIT_SUCCESS)', | Jim Meyering | |
`exit (1)' to `exit (EXIT_FAILURE)', and `usage (1)' to `usage (EXIT_FAILURE)'. | |||
2002-07-02 | (usage): Use the PACKAGE_BUGREPORT e-mail address, rather than hard-coding it. | Jim Meyering | |
2002-06-15 | Include <sys/types.h> before system.h. | Jim Meyering | |
2002-01-16 | add 2002 to Copyright line | Jim Meyering | |
2002-01-16 | tweak comment | 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-25 | (usage): Indent --help and --version strings to start in the 7th column. | Jim Meyering | |
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-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 | |