Accommodate more xstrtol changes.
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 11 Aug 2007 06:30:43 +0000 (08:30 +0200)
committerJim Meyering <jim@meyering.net>
Sat, 11 Aug 2007 06:32:50 +0000 (08:32 +0200)
commited31c612c12e603ce86073952018bf7f00f9cd59
tree6b4a11c2f0f491d53127516d9e01fb1914fa9f76
parentd243c0e840138cc5d8bf67c9d2a785bdbd74a8d9
Accommodate more xstrtol changes.
* src/df.c (long_options): Don't bother prepending "--" to long
options that OPT_STR might decode, as that hack is no longer needed.
(main): Invoke xstrtol_fatal rather than STRTOL_FATAL_ERROR.
* src/du.c (long_options, main): Likewise.
* src/ls.c (decode_switches): Likewise.
* src/od.c (long_options, main): Likewise.
* src/pr.c (first_last_page, main): Likewise.
* src/sort.c (long_options, specify_sort_size): Likewise.
* src/pr.c (first_last_page): Accept option index and option char
instead of an assembled option string.  All callers changed.
* src/sort.c (specify_sort_size): Likewise.
* src/system.h (OPT_STR, LONG_OPT_STR, short_opt_str, OPT_STR_INIT):
Remove.
ChangeLog
lib/.cvsignore
lib/.gitignore
src/df.c
src/du.c
src/ls.c
src/od.c
src/pr.c
src/sort.c
src/system.h