From 8188c3b48ded8b53d88440f0736690d2e30508ed Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sat, 4 Aug 2007 13:36:59 +0200 Subject: Adapt to new human and xstrtol API. * src/df.c (long_options): Prepend "--" to long options that OPT_STR might decode. * src/du.c (long_options): Likewise. * src/od.c (long_options): Likewise. * src/sort.c (long_options): Likewise. * src/df.c (main): Adjust to new human and xstrtol API. * src/du.c (main): Likewise. * src/ls.c (decode_switches): Likewise. * src/od.c (main): Likewise. * src/pr.c (first_last_page): Likewise. New argument OPTION. All callers changed. * src/sort.c (specify_sort_size): New arg OPTION. All callers changed. Adjust to new xstrtol API. * src/system.h (opt_str_storage): New static var. (OPT_STR, LONG_OPT_STR, OPT_STR_INIT): New macros. --- ChangeLog | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index ee5220e4d..6c406e0bd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,22 @@ +2007-08-04 Paul Eggert + + Adapt to new human and xstrtol API. + * src/df.c (long_options): Prepend "--" to long options that + OPT_STR might decode. + * src/du.c (long_options): Likewise. + * src/od.c (long_options): Likewise. + * src/sort.c (long_options): Likewise. + * src/df.c (main): Adjust to new human and xstrtol API. + * src/du.c (main): Likewise. + * src/ls.c (decode_switches): Likewise. + * src/od.c (main): Likewise. + * src/pr.c (first_last_page): Likewise. New argument OPTION. + All callers changed. + * src/sort.c (specify_sort_size): New arg OPTION. All callers + changed. Adjust to new xstrtol API. + * src/system.h (opt_str_storage): New static var. + (OPT_STR, LONG_OPT_STR, OPT_STR_INIT): New macros. + 2007-08-02 Jim Meyering Adjust one more test to accommodate the recent fts change. -- cgit v1.2.3-70-g09d2