Age | Commit message (Collapse) | Author | |
---|---|---|---|
2004-04-15 | Include getpagesize.h. | Jim Meyering | |
(main): Align I/O buffers to page boundaries. | |||
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-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-06-16 | (cat): Remove `#ifndef ENOSYS', now that it's | Jim Meyering | |
guaranteed to be defined. | |||
2002-10-08 | (cat): Don't advance the write pointer past the end of the write buffer. | Jim Meyering | |
2002-10-06 | (simple_cat, cat): Adapt to new safe_read ABI. | Jim Meyering | |
2002-09-29 | (simple_cat): Use a temporary to avoid bogus warnings. | Jim Meyering | |
(cat): Declare insize and outsize to be of type size_t, not int. Rearrange pointer/integer expressions to avoid bogus warnings. (main): Declare insize and outsize to be of type size_t, not int. | |||
2002-08-26 | (close_stdout_wrapper): New, kludgey, function and file-scoped global. | Jim Meyering | |
(main): Register it with atexit. Close STDOUT_FILENO, to avoid a problem when writing to /dev/audio on at least Solaris 2.7 and 2.8 systems. | |||
2002-08-25 | (main): Close STDIN_FILENO rather than a literal `0'. | Jim Meyering | |
2002-07-02 | (usage): Use the PACKAGE_BUGREPORT e-mail address, rather than hard-coding it. | Jim Meyering | |
2002-02-23 | (simple_cat, cat, main): Used char * rather than | Jim Meyering | |
unsigned char *, to avoid some technical violations of the C standard, and to avoid the need for casts. I guess the unsigned char * was probably there for improved performance with ancient compilers, but the code wasn't using the unsignedness any more. Reported by Nelson H. F. Beebe. (cat): int -> size_t for full_write arg. This doesn't fix any bugs since the buffer size is small, but it makes the code a bit clearer. | |||
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-26 | (cat): Don't test whether the full_write return value (of type size_t) | Jim Meyering | |
is less than 0. Reported by Nelson H. F. Beebe, as a warning from Irix 6.5's C compiler. | |||
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 | |
Use fputs, not printf. | |||
2001-08-31 | copyright | Jim Meyering | |
2001-08-31 | Include full-write.h. | Jim Meyering | |
(full_write): Remove decl; not needed. (simple_cat, cat): Don't assume read and write size fits in int. | |||
2001-08-13 | (AUTHORS): Mark string for translation, since it contains the English word ↵ | Jim Meyering | |
`and'. | |||
2000-10-21 | The command, `yes ''|./cat -n' would stop printing after INT_MAX lines. | Jim Meyering | |
(cat): Never let `newlines' exceed 3. | |||
2000-10-21 | Prevent a counter buffer overrun when numbering lines and when | Jim Meyering | |
processing 100 billion lines (or more) of input. (LINE_COUNTER_BUF_LEN): Define to allow numbering as many as 10^18 - 1 lines (the old limit was 10^11 - 1, and could be exceeded without too much trouble). Use this symbol rather than hard-coding the constant everywhere. Rather than overruning for input with more lines, mark the line number by putting a `>' in the leftmost slot. (next_line_num): Fixed (now academic) possible line buffer overrun. Patch by Jan Nieuwenhuizen. | |||
2000-08-07 | (closeout_func): Remove variable. | Jim Meyering | |
(close_stdout_wrapper): Remove unused function. (main): Remove assignment to closeout_func. | |||
2000-06-22 | (main): Correct a comment. | Jim Meyering | |
2000-05-27 | Arrange to call close_stdout upon exit. | Jim Meyering | |
Don't close stdout explicitly. Replace uses of global constant, output_desc, with uses of STDOUT_FILENO. | |||
1999-05-18 | (main): When stdout is in binary mode, make sure all | Jim Meyering | |
input files are also read in binary mode. | |||
1999-04-13 | (main): Declare out_dev to be of type dev_t, not `int'. | Jim Meyering | |
Declare out_ino to be of type ino_t, not `int'. | |||
1999-04-04 | Standardize --help and --version processing. | 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 | (usage) [O_BINARY]: Describe -B,--binary option. | Jim Meyering | |
(main) [O_BINARY]: binary_files, binary_output, file_open_mode: new variables. Add --binary to long_options[]. Switch stdin and stdout to binary mode unless file contents are not important anyway. Open files in binary mode when required. | |||
1998-09-19 | update bug-reporting address | Jim Meyering | |
1998-04-12 | Use STREQ rather than strcmp | Jim Meyering | |
1998-04-11 | Include safe-read.h instead of merely declaring safe_read. | Jim Meyering | |
1998-01-25 | (cat): Convert comma-expressions to pairs of | Jim Meyering | |
semicolon-terminated stmts. Add braces around compound if/else stmts. | |||
1997-10-25 | Remove old-style xmalloc and xrealloc decls. | Jim Meyering | |
1997-10-23 | Remove stpcpy dcl. | 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 | |