summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2004-08-24 07:38:49 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2004-08-24 07:38:49 +0000
commit969ed5b8f37d2c5770be76debdcef6b3825eab0f (patch)
tree1d51c96864115f1e394b6b23b72c42ab7f643fe4 /tests
parent0d568f76787ee02a96cb6182992afd7d57f3fa08 (diff)
downloadcoreutils-969ed5b8f37d2c5770be76debdcef6b3825eab0f.tar.xz
(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. (unexpand): 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. (TAB_STOP_SENTINEL): Remove. (tab_size): Now size_t, not uintmax_t, since we need to store the sequences of blanks. (max_column_width): New var. (usage): Say "blank" where POSIX requires this. (add_tab_stop): Calculate maximum column width. (unexpand): Store the pending blanks, instead of merely counting them. Follow POSIX's rules about -a requiring two blanks before a tab stop. Get rid of internal label and goto.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions