summaryrefslogtreecommitdiff
path: root/old/fileutils
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2004-08-03 23:27:20 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2004-08-03 23:27:20 +0000
commitf55c9b41a254e3a7d37ae1d10491a410e22ff6b7 (patch)
tree169375e60927cc4d4eca20f5009f8ecdc2718f0e /old/fileutils
parenteae57519cdf7506ddbe41942bc1715df84314bf0 (diff)
downloadcoreutils-f55c9b41a254e3a7d37ae1d10491a410e22ff6b7.tar.xz
Int cleanup and minor reorganization to be more like src/expand.c.
Include quote.h, xstrndup.h. (TAB_STOP_SENTINEL): Increase from INT_MAX to INTMAX_MAX. (convert_entire_line, have_read_stdin, parse_tabstops, next_file, unexpand, main): Use bool for booleans. (tab_size, tab_list, add_tabstop, validate_tabstops, unexpand): Use uintmax_t for column counts. (first_free_tab, validate_tabstops, unexpand): Use size_t for sizes. (add_tabstop, parse_tabstops, main): Don't reserve UINTMAX_MAX as a tab stop. (parse_tabstops): Don't use ISBLANK on possibly-signed char. Detect overflow in tab stop string. (next_file, main): Use EXIT_FAILURE/EXIT_SUCCESS instead of 1/0. (unexpand): Concatenate input files the same way expand does.
Diffstat (limited to 'old/fileutils')
0 files changed, 0 insertions, 0 deletions