Age | Commit message (Collapse) | Author | |
---|---|---|---|
2004-09-22 | Remove trailing blanks. | Jim Meyering | |
2004-09-21 | Remove unused "case 0". | Paul Eggert | |
2004-08-24 | Revamp to resemble the new unexpand.c better. | Paul Eggert | |
(usage): -i does not convert tabs after non-tabs. (add_tab_stop): Renamed from add_tabstop. All uses changed. (parse_tab_stop): Renamed from parse_tabstop. All uses changed. (validate_tab_stop): Renamed from validate_tabstop. All uses changed. (next_file, main): Check fclose against 0, not EOF. (expand): Remove unnecessary casts. Add another loop nesting level, for lines, so that per-line variables are initialized cleanly. Revamp tab checking. Check for write error immediately, rather than just once at the end of the program. | |||
2004-08-02 | (convert_entire_line, have_read_stdin, parse_tabstops, | Paul Eggert | |
next_file, expand, main): Use bool for booleans. (tab_size, tab_list, add_tabstop, parse_tabstops, validate_tabstops, expand, main): Use uintmax_t for column counts. (add_tabstop): Don't reserve -1 (now UINTMAX_MAX) as a special value. All callers changed. (parse_tabstops): Don't pass a negative char to isblank. Avoid memory leak with large tab stops. (validate_tabstops, expand): Don't assume number of tab stops is <= INT_MAX. (next_file, main): Use EXIT_SUCCESS/EXIT_FAILURE rather than 0/1 when storing values into exit_status. (expand): Use same pattern as unexpand for reading chars. Report an error when input line is too long, instead of silently screwing up. Do not mishandle tab stops when backspacing left over start of line. | |||
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. | |||
2004-01-04 | (n_tabs_allocated): New global. | Jim Meyering | |
(add_tabstop): Use x2nrealloc rather than xrealloc. | |||
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-07-26 | (parse_tabstops): Detect overflow properly. | Jim Meyering | |
2003-07-23 | Don't include headers already included by system.h: | Jim Meyering | |
Don't include closeout.h. | |||
2003-07-23 | (parse_tabstops): Detect overflow in tabstop sizes. | Jim Meyering | |
2003-06-17 | (main): Call initialize_main. | Jim Meyering | |
2003-05-10 | Handle argc < optind. | Jim Meyering | |
2003-04-11 | Remove anachronistic casts of xmalloc, | Jim Meyering | |
xrealloc, and xcalloc return values and of xrealloc's first argument. | |||
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-02-16 | Include posixver.h. | Jim Meyering | |
(usage): Document only the intersection of the old and new behaviors, to encourage portability. (shortopts): Remove; no longer needed. (main): Revert to previous behavior, except report an error and exit if the obsolete syntax is used and if conforming to the new standard. | |||
2002-02-02 | Add more support for POSIX 1003.1-2001, which requires removal for | Jim Meyering | |
support of obsolete "-N" option syntax in expand, head, fold, split, tail, unexpand, uniq, and which prohibits options with optional arguments in od and pr. (shortopts): New constant. (main): Check for obsolete options. | |||
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 | |
Use fputs, not printf. | |||
2001-11-04 | (usage): Say that | Jim Meyering | |
``Mandatory arguments to long options are mandatory for short options too.\n\'' | |||
2000-05-20 | Arrange to call close_stdout upon exit. Don't close stdout explicitly. | Jim Meyering | |
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 | (expand): Use binary I/O where appropriate. | 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-26 | Do not define _GNU_SOURCE and/or NDEBUG | Jim Meyering | |
1997-10-25 | Remove old-style xmalloc and xrealloc decls. | Jim Meyering | |
(add_tabstop): Cast first arg of xrealloc to char*. | |||
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. | |||
1997-01-25 | fix copyright filling | Jim Meyering | |
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-24 | Call error with EXIT_FAILURE (rather than `1') as first actual parameter. | Jim Meyering | |