summaryrefslogtreecommitdiff
path: root/src/fmt.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2004-08-02 23:49:31 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2004-08-02 23:49:31 +0000
commit71377ec627ac67e7dd2bb0e8911b9d21a5465e45 (patch)
treeb62427ce3d044dc6d5ae40edcfd23624bf98a0b9 /src/fmt.c
parentbfaa02d8a9aad6c31523329053c615c69ef2c185 (diff)
downloadcoreutils-71377ec627ac67e7dd2bb0e8911b9d21a5465e45.tar.xz
(convert_entire_line, have_read_stdin, parse_tabstops,
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.
Diffstat (limited to 'src/fmt.c')
0 files changed, 0 insertions, 0 deletions